小调整

This commit is contained in:
suntao committed 2021-05-12 10:42:26 +08:00
1 parent a7ea02f70a
commit 53ec9c60ac
10 files changed
+42 -73

No files matched your search

+2 -2
View File
@@ -62,7 +62,7 @@ namespace Assets.Scripts.Apis
user.ContactPhone = ret.data.ContactPhone;
user.ContactAddress = ret.data.ContactAddress;
user.Sensitivity = ret.data.Sensitivity;
if (ret.data.ConnectedToStrava != null)
//if (ret.data.ConnectedToStrava != null)
{
user.ConnectedToStrava = ret.data.ConnectedToStrava;
}
@@ -224,7 +224,7 @@ namespace Assets.Scripts.Apis
return Newtonsoft.Json.JsonConvert.DeserializeObject<JsonResult<object>>(res);
}
public async Task<JsonResult<object>> Update(UserResultModel currUser, string filePath = "")
public JsonResult<object> Update(UserResultModel currUser, string filePath = "")
{
//return await PostAsync<JsonResult<dynamic>>("User/UpdateUserSetting", new {
// UID = currUser.Id,