diff --git a/YD_YiLu.Commons/Dto/DeviceSync/ErrorUserCallbackDto.cs b/YD_YiLu.Commons/Dto/DeviceSync/ErrorUserCallbackDto.cs new file mode 100644 index 0000000..c8975d9 --- /dev/null +++ b/YD_YiLu.Commons/Dto/DeviceSync/ErrorUserCallbackDto.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; + +namespace YD_YiLu.Commons.Dto.DeviceSync +{ + /// + /// 信息下发失败回调请求 + /// + public class ErrorUserCallbackRequestDto + { + public long SyncId { get; set; } + public int DeviceType { get; set; } + public string DeviceSerial { get; set; } + public List ErrorUsers { get; set; } + } + + /// + /// 失败人员信息 + /// + public class ErrorUserCallbackItemDto + { + public string UserSerial { get; set; } + public string ErrorMessage { get; set; } + } +} diff --git a/YD_YiLu/Controllers/SettingController.cs b/YD_YiLu/Controllers/SettingController.cs index d0b7260..e4c75f2 100644 --- a/YD_YiLu/Controllers/SettingController.cs +++ b/YD_YiLu/Controllers/SettingController.cs @@ -28,6 +28,21 @@ namespace YD_YiLu.Api.Controllers return await _deviceSyncService.AppVerifyAsync(dto); } + /// + /// 信息下发失败回调 + /// + [HttpPost] + [Route("/setting/callback/error_user")] + public object ErrorUserCallback([FromBody] ErrorUserCallbackRequestDto dto) + { + return new + { + code = 0, + msg = "OK", + data = 1 + }; + } + /// /// 新增app版本 /// diff --git a/壹路文档/~$壹动站对接协议V1.9.docx b/壹路文档/~$壹动站对接协议V1.9.docx deleted file mode 100644 index 843386c..0000000 Binary files a/壹路文档/~$壹动站对接协议V1.9.docx and /dev/null differ