Compare commits

..

No commits in common. "fe3350817dc011ab70fc6b144abfba107001cab0" and "ffc396ec756811439ae5daa8060fafd43ca9fe11" have entirely different histories.

7 changed files with 5190 additions and 5697 deletions

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 561440df45b228349a409964d7f37450
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: cf8157ba97bdda94494fae6a9cc56ff2
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
public class ExchangePanel : Base
public class ExchangePanel : MonoBehaviour
{
public TMP_InputField exchangeInput;
public Button CancelBtn;
@ -11,7 +11,6 @@ public class ExchangePanel : Base
// Start is called before the first frame update
void Start()
{
testLogo();
ConfirmBtn.onClick.AddListener(ConfrimPanel);
CancelBtn.onClick.AddListener(CancelPanel);
}
@ -25,11 +24,7 @@ public class ExchangePanel : Base
async void ConfrimPanel()
{
string response = "";//²âÊÔ
string body = "{\"exchangeCode\":\"" + exchangeInput.text + "}";
Debug.Log(body);
response = await web.SendRequest(web.URL + "/snail/exchangeCode", "POST", body, testhead);
Debug.Log(response);
}

View File

@ -2,7 +2,7 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Nice_numPanel : Base
public class Nice_numPanel : MonoBehaviour
{
public Button CancleBtn;
public Button ConfirmBtn;
@ -26,17 +26,9 @@ public class Nice_numPanel : Base
//string pricetext = numberTc.price.text;
buyGoodIdResponse = await buyGoodId42.buyGoodId(numberTc.id);
Debug.Log(buyGoodIdResponse);
if (buyGoodIdResponse.code == 200)
{
numberTc.musk_show();
Destroy(this.gameObject);
}
else
{
addEventPopUp("弹出蜗壳不足的弹窗");
}
numberTc.musk_show();
Destroy(this.gameObject);
//Debug.Log("弹出蜗壳不足的弹窗");
}