Compare commits
No commits in common. "566285caa800200387b86041bd2aa0518cc4f033" and "a6ed725913674216e8144f1dcc19e0fd5ba4370c" have entirely different histories.
566285caa8
...
a6ed725913
@ -18,7 +18,6 @@ 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()
|
||||||
{
|
{
|
||||||
@ -59,8 +58,7 @@ public class ReadRoom : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if(GlobalData.ServerData.data.userId==item1.UserId)
|
if(GlobalData.ServerData.data.userId==item1.UserId)
|
||||||
{
|
{
|
||||||
playerdetail = GlobalData.ServerData.data;
|
RoleId= item1.RoleId;
|
||||||
RoleId = item1.RoleId;
|
|
||||||
if(item1.RoleId==8000)//主持人
|
if(item1.RoleId==8000)//主持人
|
||||||
{
|
{
|
||||||
isenter=true;
|
isenter=true;
|
||||||
|
@ -9,14 +9,13 @@ public class auth_login
|
|||||||
{
|
{
|
||||||
//public string clientId = "e5cd7e4891bf95d1d19206ce24a7b32e";
|
//public string clientId = "e5cd7e4891bf95d1d19206ce24a7b32e";
|
||||||
//public string grantType = "password";
|
//public string grantType = "password";
|
||||||
|
|
||||||
public string clientId;
|
|
||||||
public string grantType;
|
public string grantType;
|
||||||
|
public string clientId;
|
||||||
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,8 +45,10 @@ 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);
|
||||||
// ·¢ËÍÇëÇó
|
// ·¢ËÍÇëÇó
|
||||||
@ -69,9 +71,9 @@ public class LoginPanel : Base
|
|||||||
{
|
{
|
||||||
Debug.LogError(11);
|
Debug.LogError(11);
|
||||||
ReadRoom.instance.isadministrator=true;
|
ReadRoom.instance.isadministrator=true;
|
||||||
SceneManager.LoadScene("yhj");
|
SceneManager.LoadScene(1);
|
||||||
}
|
}
|
||||||
else if(id.text == "13699802230" && pwd.text == "YYL5371!")
|
else if(id.text == "13699802230" && pwd.text == "ZF16c788632")
|
||||||
{
|
{
|
||||||
|
|
||||||
//SceneManager.LoadScene("yhj");
|
//SceneManager.LoadScene("yhj");
|
||||||
|
Loading…
Reference in New Issue
Block a user