From f3a1abe8bfa07413e25795a4cd720a734f75cb48 Mon Sep 17 00:00:00 2001 From: tanglong Date: Thu, 20 Aug 2026 15:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dto/DeviceSync/ErrorUserCallbackDto.cs | 24 ++++++++++++++++++ YD_YiLu/Controllers/SettingController.cs | 15 +++++++++++ 壹路文档/~$壹动站对接协议V1.9.docx | Bin 162 -> 0 bytes 3 files changed, 39 insertions(+) create mode 100644 YD_YiLu.Commons/Dto/DeviceSync/ErrorUserCallbackDto.cs delete mode 100644 壹路文档/~$壹动站对接协议V1.9.docx 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 843386ce427c2eca19b8c2da481da7e3b5022327..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 162 gcmZQANz6;nVIUE(GL$eRGUPF&Gmxy6M4K2G049