登录改动

This commit is contained in:
huyulong 2024-12-25 22:49:02 +08:00
parent b94e4c403b
commit ae74e28e93

View File

@ -63,16 +63,25 @@ public class LoginPanel : Base
// 打印 access_token
Debug.Log(serverData.data.access_token);
// Ìøת³¡¾°
ReadRoom.instance.head();
//如果是管理员账号就跳预定演练
//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")
// SceneManager.LoadScene(2);
// SceneManager.LoadScene(5);
// Ìøת³¡¾°
//ReadRoom.instance.head();
}