Merge branch 'main' of http://sheziwanglo.cn:3000/hyskai/_TheStrongestSnail
# Conflicts: # TheStrongestSnail/Assets/Scenes/logo.unity
This commit is contained in:
commit
ed7788d6fb
@ -4157,6 +4157,9 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: c7e45ea47af233042aae50e5524d917e, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
userNameField: {fileID: 2007997901}
|
||||
passwordField: {fileID: 2068924169}
|
||||
verifyCodeField: {fileID: 345431930}
|
||||
pwdBtn: {fileID: 1969202727}
|
||||
yzmBtn: {fileID: 622588872}
|
||||
sjh: {fileID: 1074421265}
|
||||
@ -4164,3 +4167,4 @@ MonoBehaviour:
|
||||
mm: {fileID: 0}
|
||||
zh: {fileID: 0}
|
||||
loginBtn: {fileID: 2003261318}
|
||||
rigistBtn: {fileID: 0}
|
||||
|
@ -10,6 +10,9 @@ using static LoginAndGetToken;
|
||||
|
||||
public class logoPanel : MonoBehaviour
|
||||
{
|
||||
public InputField userNameField;
|
||||
public InputField passwordField;
|
||||
public InputField verifyCodeField;
|
||||
public Button pwdBtn;
|
||||
public Button yzmBtn;
|
||||
public GameObject sjh;
|
||||
@ -40,9 +43,9 @@ public class logoPanel : MonoBehaviour
|
||||
{
|
||||
loginbody body = new loginbody
|
||||
{
|
||||
userName = "15151658596",
|
||||
password = "123456",
|
||||
verifyCode = 111111
|
||||
userName = userNameField.text,
|
||||
password = passwordField.text,
|
||||
verifyCode = int.Parse(verifyCodeField.text)
|
||||
};
|
||||
|
||||
string jsonBody = JsonUtility.ToJson(body);
|
||||
|
Loading…
Reference in New Issue
Block a user