cookie bug

This commit is contained in:
Caiyanpeng committed 2021-07-30 20:44:45 +08:00
1 parent fe2c0280dc
commit 317f7c6d8c
2 files changed
+2 -8

No files matched your search

+1 -8
View File
@@ -248,14 +248,7 @@ namespace Assets.Scripts.Apis
}
public JsonResult<object> Update(UserResultModel currUser, out string cookie, string filePath = "")
{
if (App.CurrentUser != null)
{
cookie = App.CurrentUser.cookie;
}
else
{
cookie = null;
}
cookie = App.CurrentUser.cookie;
//return await PostAsync<JsonResult<dynamic>>("User/UpdateUserSetting", new {
// UID = currUser.Id,
// Sex = currUser.Sex,
+1
View File
@@ -777,6 +777,7 @@ public class LoginController : MonoBehaviour
wxLogin3.Find("Wx").gameObject.SetActive(type == 1);
wxLogin3.Find("NickName").GetComponent<Text>().text = data.Nickname;
userResult = data;
App.CurrentUser = data;
}
/// <summary>
/// 去最后一页准备进入主场景