diff --git a/YD_YiLu/Controllers/DeviceSyncController.cs b/YD_YiLu/Controllers/DeviceSyncController.cs index 57704d3..b660c5f 100644 --- a/YD_YiLu/Controllers/DeviceSyncController.cs +++ b/YD_YiLu/Controllers/DeviceSyncController.cs @@ -131,7 +131,7 @@ namespace YD_YiLu.Api.Controllers /// 查询运动记录 /// [HttpPost] - [Route("/applet/train/record_app")] + [Route("/device/sync/grade/record")] public async Task RecordApp([FromBody] DeviceSyncRecordAppRequestDto dto) { var res = await _deviceSyncService.RecordAppAsync(dto); @@ -142,7 +142,7 @@ namespace YD_YiLu.Api.Controllers /// 查询我的运动 /// [HttpPost] - [Route("/device/sync/train/my_record/ytp")] + [Route("/device/sync/grade/my_record")] public async Task MyRecord([FromBody] DeviceSyncMyRecordRequestDto dto) { var res = await _deviceSyncService.MyRecordAsync(dto);