diff --git a/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncGradeOrderDto.cs b/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncGradeOrderDto.cs
index 42ecb36..2d5cf1b 100644
--- a/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncGradeOrderDto.cs
+++ b/YD_YiLu.Commons/Dto/DeviceSync/DeviceSyncGradeOrderDto.cs
@@ -39,4 +39,36 @@ namespace YD_YiLu.Commons.Dto.DeviceSync
public int CourseId { get; set; }
public string CourseName { get; set; }
}
+
+ public class DeviceSyncOrganizationGradeOrderItemDto
+ {
+ public string OrganizationName { get; set; }
+ public string SumScore { get; set; }
+ public string AvgScore { get; set; }
+ public int SumCount { get; set; }
+ public int CourseId { get; set; }
+ public string CourseName { get; set; }
+ }
+
+ public class DeviceSyncBestScoreRequestDto
+ {
+ public int DeviceType { get; set; }
+ public string DeviceSerial { get; set; }
+ public int CourseId { get; set; }
+ public int Gender { get; set; }
+ public string UserSerial { get; set; }
+ public int Range { get; set; }
+ }
+
+ public class DeviceSyncBestScoreDto
+ {
+ public string UserSerial { get; set; }
+ public string Nickname { get; set; }
+ public int OrganizationId { get; set; }
+ public string OrganizationName { get; set; }
+ public int Gender { get; set; }
+ public string Score { get; set; }
+ public int CourseId { get; set; }
+ public string CourseName { get; set; }
+ }
}
diff --git a/YD_YiLu/Controllers/DeviceSyncController.cs b/YD_YiLu/Controllers/DeviceSyncController.cs
index 57704d3..b38076e 100644
--- a/YD_YiLu/Controllers/DeviceSyncController.cs
+++ b/YD_YiLu/Controllers/DeviceSyncController.cs
@@ -7,7 +7,7 @@ using YD_YiLu.Commons.Dto.DeviceSync;
namespace YD_YiLu.Api.Controllers
{
///
- /// 壹动站/壹体屏/活力课间屏 设备同步 HTTP 接口(小站登录与心跳见 WebSocket:/ws/camera/device)
+ /// 设备同步 HTTP 接口。
///
[AllowAnonymous]
public class DeviceSyncController : ControllerBase
@@ -22,7 +22,7 @@ namespace YD_YiLu.Api.Controllers
}
///
- /// 人员拉取(全量,与 user_page 共用服务逻辑;活力课间屏)
+ /// 人员全量拉取。
///
[HttpPost]
[Route("/device/sync/user")]
@@ -32,7 +32,7 @@ namespace YD_YiLu.Api.Controllers
}
///
- /// 人员分页下发(壹动站/壹体屏;弃用的 user_trace 请改用本接口)
+ /// 人员分页下发。
///
[HttpPost]
[Route("/device/sync/user_page")]
@@ -48,14 +48,14 @@ namespace YD_YiLu.Api.Controllers
}
///
- /// 弃用地址别名:device/sync/user_trace → 与 user_page 相同
+ /// user_trace 别名。
///
[HttpPost]
[Route("/device/sync/user_trace")]
public Task