# Conflicts:
#	TheStrongestSnail/Assets/Scenes/logo.unity
This commit is contained in:
五条悟 2024-11-11 21:03:06 +08:00
commit ed7788d6fb
2 changed files with 10 additions and 3 deletions

View File

@ -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}

View File

@ -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);