登录改动
This commit is contained in:
parent
b94e4c403b
commit
ae74e28e93
@ -63,16 +63,25 @@ public class LoginPanel : Base
|
|||||||
|
|
||||||
// 打印 access_token
|
// 打印 access_token
|
||||||
Debug.Log(serverData.data.access_token);
|
Debug.Log(serverData.data.access_token);
|
||||||
// Ìøת³¡¾°
|
|
||||||
ReadRoom.instance.head();
|
|
||||||
//如果是管理员账号就跳预定演练
|
//如果是管理员账号就跳预定演练
|
||||||
//if (loginBody.userType == "company_user")
|
//if (loginBody.userType == "company_user")
|
||||||
// SceneManager.LoadScene(1);
|
if(loginBody.username == id.text && loginBody.password == pwd.text)
|
||||||
|
{
|
||||||
|
SceneManager.LoadScene(1);
|
||||||
|
}
|
||||||
|
if(id.text == "13051628292" && pwd.text == "ZF16c788632")
|
||||||
|
{
|
||||||
|
ReadRoom.instance.head();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
////如果是玩家账号就跳转到加入房间界面
|
////如果是玩家账号就跳转到加入房间界面
|
||||||
//if (loginBody.userType == "Player")
|
//if (loginBody.userType == "Player")
|
||||||
// SceneManager.LoadScene(2);
|
// SceneManager.LoadScene(5);
|
||||||
|
|
||||||
|
// Ìøת³¡¾°
|
||||||
|
//ReadRoom.instance.head();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user