add
This commit is contained in:
parent
13015a5d32
commit
2791991b56
@ -19,9 +19,19 @@ public class DonatePanelItem : BaseUIPanel
|
|||||||
|
|
||||||
testLogo();
|
testLogo();
|
||||||
}
|
}
|
||||||
void buttonOnClick()
|
public class voluteCoinItem
|
||||||
{
|
{
|
||||||
|
public string toCuteNo;
|
||||||
|
public int voluteCoin;
|
||||||
|
}
|
||||||
|
async void buttonOnClick()
|
||||||
|
{
|
||||||
|
|
||||||
|
voluteCoinItem body = new voluteCoinItem();
|
||||||
|
body.toCuteNo = Recipient.text;
|
||||||
|
body.voluteCoin = int.Parse(GiftQuantity.text);
|
||||||
|
string response = await web.SendRequest(web.URL + "/snail/transfer/voluteCoin", "POST", JsonUtility.ToJson(body), testhead);//²âÊÔ
|
||||||
|
Debug.Log(response);
|
||||||
}
|
}
|
||||||
async void GiftQuantityData(string userInput)
|
async void GiftQuantityData(string userInput)
|
||||||
{
|
{
|
||||||
|
@ -57,11 +57,12 @@ public class Base : MonoBehaviour
|
|||||||
addEventPopUp("测试登录成功");
|
addEventPopUp("测试登录成功");
|
||||||
|
|
||||||
testhead = new Dictionary<string, string>
|
testhead = new Dictionary<string, string>
|
||||||
{
|
{
|
||||||
{ "Authorization", TestserverResponse.data.token }
|
{ "Authorization", TestserverResponse.data.token }
|
||||||
};
|
};
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
addEventPopUp("꿎桿되쩌呵겨");
|
addEventPopUp(response.message);
|
||||||
testhead = new Dictionary<string, string>();
|
testhead = new Dictionary<string, string>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user