路由更新
This commit is contained in:
parent
197948e290
commit
f8aac2fefa
@ -131,7 +131,7 @@ namespace YD_YiLu.Api.Controllers
|
||||
/// 查询运动记录
|
||||
/// </summary>
|
||||
[HttpPost]
|
||||
[Route("/applet/train/record_app")]
|
||||
[Route("/device/sync/grade/record")]
|
||||
public async Task<object> RecordApp([FromBody] DeviceSyncRecordAppRequestDto dto)
|
||||
{
|
||||
var res = await _deviceSyncService.RecordAppAsync(dto);
|
||||
@ -142,7 +142,7 @@ namespace YD_YiLu.Api.Controllers
|
||||
/// 查询我的运动
|
||||
/// </summary>
|
||||
[HttpPost]
|
||||
[Route("/device/sync/train/my_record/ytp")]
|
||||
[Route("/device/sync/grade/my_record")]
|
||||
public async Task<object> MyRecord([FromBody] DeviceSyncMyRecordRequestDto dto)
|
||||
{
|
||||
var res = await _deviceSyncService.MyRecordAsync(dto);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user