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