test
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user