跳转
This commit is contained in:
parent
3ec262b640
commit
1632a1f0bd
@ -18,6 +18,7 @@ public class ReadRoom : MonoBehaviour
|
||||
private bool isStartRoom = false;//主持人是否已经点击演练开始
|
||||
public bool iszongzhihui = false;
|
||||
public int RoleId;
|
||||
public loginData playerdetail;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@ -58,7 +59,8 @@ public class ReadRoom : MonoBehaviour
|
||||
{
|
||||
if(GlobalData.ServerData.data.userId==item1.UserId)
|
||||
{
|
||||
RoleId= item1.RoleId;
|
||||
playerdetail = GlobalData.ServerData.data;
|
||||
RoleId = item1.RoleId;
|
||||
if(item1.RoleId==8000)//主持人
|
||||
{
|
||||
isenter=true;
|
||||
|
@ -9,13 +9,14 @@ public class auth_login
|
||||
{
|
||||
//public string clientId = "e5cd7e4891bf95d1d19206ce24a7b32e";
|
||||
//public string grantType = "password";
|
||||
public string grantType;
|
||||
|
||||
public string clientId;
|
||||
public string grantType;
|
||||
public string userType;
|
||||
public string username;
|
||||
public string password;
|
||||
public string phonenumber;
|
||||
public string smsCode;
|
||||
//public string phonenumber;
|
||||
//public string smsCode;
|
||||
}
|
||||
//public class auth_createTemplate
|
||||
//{
|
||||
|
@ -45,10 +45,8 @@ public class LoginPanel : Base
|
||||
grantType = "password",
|
||||
clientId = "e5cd7e4891bf95d1d19206ce24a7b32e",
|
||||
userType = "company_user",
|
||||
username = " ZF16c788632 ",
|
||||
password = "YYL5371!",
|
||||
phonenumber = "",
|
||||
smsCode = ""
|
||||
username = "ZF16c788632",
|
||||
password = "YYL5371!"
|
||||
};
|
||||
image.gameObject.SetActive (true);
|
||||
// ·¢ËÍÇëÇó
|
||||
@ -71,9 +69,9 @@ public class LoginPanel : Base
|
||||
{
|
||||
Debug.LogError(11);
|
||||
ReadRoom.instance.isadministrator=true;
|
||||
SceneManager.LoadScene(1);
|
||||
SceneManager.LoadScene("yhj");
|
||||
}
|
||||
else if(id.text == "13699802230" && pwd.text == "ZF16c788632")
|
||||
else if(id.text == "13699802230" && pwd.text == "YYL5371!")
|
||||
{
|
||||
|
||||
//SceneManager.LoadScene("yhj");
|
||||
|
Loading…
Reference in New Issue
Block a user