Merge remote-tracking branch 'origin/dev_cyp' into dev_lishuo

This commit is contained in:
lishuo 2021-07-30 20:40:30 +08:00
commit 8b5070214e

View File

@ -248,7 +248,14 @@ namespace Assets.Scripts.Apis
}
public JsonResult<object> Update(UserResultModel currUser, out string cookie, string filePath = "")
{
cookie = App.CurrentUser.cookie;
if (App.CurrentUser != null)
{
cookie = App.CurrentUser.cookie;
}
else
{
cookie = null;
}
//return await PostAsync<JsonResult<dynamic>>("User/UpdateUserSetting", new {
// UID = currUser.Id,
// Sex = currUser.Sex,