Commit bcb2b070 authored by 潘梓豪's avatar 潘梓豪

更新登录功能

parent 7c1e8232
...@@ -66,7 +66,18 @@ public class ButtonComponents : MonoBehaviour ...@@ -66,7 +66,18 @@ public class ButtonComponents : MonoBehaviour
PlayerPrefs.DeleteKey("name"); PlayerPrefs.DeleteKey("name");
PlayerPrefs.DeleteKey("password"); PlayerPrefs.DeleteKey("password");
PlayerPrefs.DeleteKey("ison"); PlayerPrefs.DeleteKey("ison");
btn_compent[0].SetActive(true); btn_compent[0].SetActive(true);
btn_compent[1].GetComponentInChildren<Toggle>().isOn = false;
btn_compent[2].SetActive(false);
btn_compent[3].SetActive(false);
btn_compent[4].SetActive(false);
btn_compent[4].GetComponentInChildren<Button>().GetComponent<SmsButton>().timer = -1;
msg.text = "重置密码成功";
/*btn_compent[0].SetActive(true);
var input_texts= btn_compent[0].GetComponentsInChildren<TMP_Text>(); var input_texts= btn_compent[0].GetComponentsInChildren<TMP_Text>();
if (input_texts != null && input_texts.Length > 0) if (input_texts != null && input_texts.Length > 0)
{ {
...@@ -79,8 +90,8 @@ public class ButtonComponents : MonoBehaviour ...@@ -79,8 +90,8 @@ public class ButtonComponents : MonoBehaviour
} }
} }
btn_compent[0].GetComponentInChildren<Toggle>().isOn = false; btn_compent[0].GetComponentInChildren<Toggle>().isOn = false;
msg.text = "重置密码成功";
btn_compent[1].SetActive(false); btn_compent[1].SetActive(false);*/
} }
else if(code.Equals(1)) else if(code.Equals(1))
{ {
......
This diff is collapsed.
...@@ -7192,3 +7192,4 @@ ...@@ -7192,3 +7192,4 @@
2023/4/7 16:10:13 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host 2023/4/7 16:10:13 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
2023/4/10 14:04:19 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host 2023/4/10 14:04:19 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
2023/5/4 8:33:07 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host 2023/5/4 8:33:07 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
2023/5/5 15:13:40 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 401 Unauthorized
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment