修改细节

This commit is contained in:
Caiyanpeng committed 2021-04-28 15:22:04 +08:00
1 parent 5080503ebd
commit c8111d7db3
25 files changed
+1677 -7833

No files matched your search

+6 -1
View File
@@ -119,7 +119,12 @@ namespace Assets.Scripts.Apis
{
return await PostAsync<JsonResult<object>>("/MemberFavoriteMap/Cancel", new { routeId });
}
public async Task<JsonResult<object>> DeleteRecord(string id)
{
return await PostAsync<JsonResult<object>>("/MapRecord/Delete", new { id });
}
public JsonResult<MapRouteRankingList> GetRouteRanking(int id,string type, int pageIndex,int pageSize,string name)
{
var url = $"Map/v1/GetRouteRanking?pageIndex={ 0 }&pageSize={ pageSize }&name={ name }&id={ id }&type={ type }&filterSelf={ true }";
@@ -163,5 +163,7 @@ namespace Assets.Scripts.Apis.Models
///
/// </summary>
public string CanShareOnStrava { get; set; }
public string ViewUrl { get; set; }
}
}
+4 -1
View File
@@ -178,7 +178,10 @@ namespace Assets.Scripts.Apis
public async Task<JsonResult<UserResultModel>> QuickLogin()
{
var r = await PostAsync<JsonResult<UserResultModel>>("NoAuth/QuickLogin", null);
r.data.cookie = cookies[0].Value;
if (r.result)
{
r.data.cookie = cookies[0].Value;
}
return r;
}