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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user