骑行代码迁移,赛事逻辑初步框架完成
This commit is contained in:
1 parent
380e67cc1e
commit
ec45246aa4
151 files changed
+7689
-3538
No files matched your search
@@ -72,10 +72,14 @@ namespace Assets.Scripts.Apis
|
||||
data = Newtonsoft.Json.JsonConvert.DeserializeObject<MapCompetitionDetailModel>(JsonConvert.SerializeObject(list.data))
|
||||
};
|
||||
}
|
||||
//报名必比赛
|
||||
public JsonResult ApplyMapCompetition(int id)
|
||||
//报名比赛
|
||||
public async Task<JsonResult> ApplyMapCompetition(int id)
|
||||
{
|
||||
return Get<JsonResult>($"/MapCompetition/ApplyMapCompetition?id={ id }");
|
||||
var param = new
|
||||
{
|
||||
id = id,
|
||||
};
|
||||
return await PostAsync<JsonResult>($"/MapCompetition/ApplyMapCompetition", param);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
public double WeightKg { get; set; }
|
||||
public double TripDistance { get; set; }
|
||||
public double TotalDistance { get; set; }
|
||||
public int? AverageHeartRate { get; set; }
|
||||
public double? AverageHeartRate { get; set; }
|
||||
public double BicycleWeight { get; set; }
|
||||
public string NickName { get; set; }
|
||||
public string Country { get; set; }
|
||||
|
||||
Reference in new issue
Block a user