cookiebug修改
This commit is contained in:
parent
be677e766d
commit
fe2c0280dc
@ -248,7 +248,14 @@ namespace Assets.Scripts.Apis
|
|||||||
}
|
}
|
||||||
public JsonResult<object> Update(UserResultModel currUser, out string cookie, string filePath = "")
|
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 {
|
//return await PostAsync<JsonResult<dynamic>>("User/UpdateUserSetting", new {
|
||||||
// UID = currUser.Id,
|
// UID = currUser.Id,
|
||||||
// Sex = currUser.Sex,
|
// Sex = currUser.Sex,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user