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,