注释错误代码
This commit is contained in:
parent
57fd5c4756
commit
c2de8bb082
@ -36,17 +36,19 @@ public class AllHouseContro : MonoBehaviour
|
||||
}
|
||||
public async Task battleRoyaleGameDetails()//5.1.1
|
||||
{
|
||||
|
||||
foreach (HouseBtn item in HouseBtnList)
|
||||
{
|
||||
{
|
||||
item.gameObject.GetComponentInChildren<Button>().onClick.RemoveAllListeners();
|
||||
item.gameObject.GetComponentInChildren<Button>().onClick.AddListener(item.OnClickBtn);
|
||||
item.wn.GetComponent<wuniusj>().show();
|
||||
//item.wn.GetComponent<wuniusj>().show();
|
||||
}
|
||||
|
||||
Dictionary<string, string> head511 = new Dictionary<string, string>
|
||||
{
|
||||
{ "Authorization", Global.global.serverResponse.data.token }
|
||||
};
|
||||
|
||||
|
||||
string response511 = await web.SendRequest(web.URL + "/snail/gameEscape/queryLatest", "POST", "{}", head511);
|
||||
Debug.Log("5.1.1查询最近一场大屠杀" + response511);
|
||||
// 解析服务器返回的数据
|
||||
|
@ -95,7 +95,7 @@ public class BettingBtn : MonoBehaviour
|
||||
if (item.GetComponent<TextBox>().ParentHouse.GetComponent<HouseBtn>().roomNo == int.Parse(room_id))
|
||||
{
|
||||
|
||||
item.GetComponent<TextBox>().ParentHouse.GetComponent<HouseBtn>().wn.GetComponent<wuniusj>().yingchang();
|
||||
//item.GetComponent<TextBox>().ParentHouse.GetComponent<HouseBtn>().wn.GetComponent<wuniusj>().yingchang();
|
||||
item.GetComponent<TextBox>().PlayAni();
|
||||
ControMoney(item);
|
||||
}
|
||||
|
@ -82,18 +82,18 @@ public class logoPanel : MonoBehaviour
|
||||
|
||||
public async void OnClickLoginBtnAsync()
|
||||
{
|
||||
loginbody body = new loginbody
|
||||
{
|
||||
userName = userNameField.text,
|
||||
password = passwordField.text,
|
||||
verifyCode = int.Parse(verifyCodeField.text)
|
||||
};
|
||||
//loginbody body = new loginbody
|
||||
//{
|
||||
// userName = "15151658596",
|
||||
// password = "123456",
|
||||
// verifyCode = 111111
|
||||
// userName = userNameField.text,
|
||||
// password = passwordField.text,
|
||||
// verifyCode = int.Parse(verifyCodeField.text)
|
||||
//};
|
||||
loginbody body = new loginbody
|
||||
{
|
||||
userName = "15151658596",
|
||||
password = "123456",
|
||||
verifyCode = 111111
|
||||
};
|
||||
string loginResponse = await web.SendRequest(web.URL+"/snail/user/login", "POST", JsonUtility.ToJson(body));
|
||||
ServerResponse response = JsonUtility.FromJson<ServerResponse>(loginResponse);
|
||||
if (response != null && response.code == 200 && response.data != null)
|
||||
|
Loading…
Reference in New Issue
Block a user