修改细节
This commit is contained in:
1 parent
5080503ebd
commit
c8111d7db3
25 files changed
+1677
-7833
No files matched your search
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user