This commit is contained in:
2025-06-11 16:43:43 +08:00
parent d07437ed0b
commit 70060d3b0b
2 changed files with 5 additions and 2 deletions

View File

@@ -43,14 +43,17 @@ namespace Stary.Evo
Debug.Log("卸载uploadHandler1");
ResultMessageEntity authResponse =
JsonConvert.DeserializeObject<ResultMessageEntity>(webRequest.downloadHandler.text);
Debug.Log("卸载uploadHandler2"+authResponse);
Debug.Log("卸载uploadHandler2"+authResponse.data);
if (authResponse.code == 200)
{
Debug.Log("卸载uploadHandler3");
AuthenticationResponse authResponseData =
JsonConvert.DeserializeObject<AuthenticationResponse>(authResponse.data.ToString());
Debug.Log("卸载uploadHandler4"+authResponseData.Token);
authorization = authResponseData.Token;
Debug.Log("卸载uploadHandler5");
PlayerPrefs.SetString("Authorization", authorization);
Debug.Log("卸载uploadHandler6");
Debug.Log("登录成功");
return true;
}

View File

@@ -1,6 +1,6 @@
{
"name": "com.staryevo.main",
"version": "1.2.7",
"version": "1.2.8",
"displayName": "00.StaryEvo",
"description": "This is an Framework package(后台服务器版本端口9527)",
"unity": "2021.3",