1230登录
This commit is contained in:
parent
b273996793
commit
3e681bb62b
@ -36,7 +36,7 @@ public class test : MonoBehaviour
|
||||
//}
|
||||
|
||||
//되쩌
|
||||
void lodingWebSocket()
|
||||
public void lodingWebSocket()
|
||||
{
|
||||
LoginRequest data = new LoginRequest();
|
||||
data.UserId = GlobalData.ServerData.data.userId ;
|
||||
|
@ -842,6 +842,7 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
retbutton: {fileID: 0}
|
||||
ClosureObj: {fileID: 0}
|
||||
test: {fileID: 7695717545649794846}
|
||||
loginBtn: {fileID: 1493573621}
|
||||
getYzmBtn: {fileID: 1341634595}
|
||||
id: {fileID: 998972941}
|
||||
|
@ -9,7 +9,7 @@ using UnityEngine.UI;
|
||||
|
||||
public class LoginPanel : Base
|
||||
{
|
||||
|
||||
public test test;
|
||||
public Button loginBtn;
|
||||
public Button getYzmBtn;
|
||||
public InputField id;
|
||||
@ -59,7 +59,7 @@ public class LoginPanel : Base
|
||||
|
||||
// 将登录响应数据保存到静态变量中
|
||||
GlobalData.ServerData = serverData;
|
||||
|
||||
test.lodingWebSocket();
|
||||
// 打印 access_token
|
||||
Debug.Log(serverData.data.access_token);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user