From 50ab8a8ab103c47cbc392ed1ee3c4f036441299f Mon Sep 17 00:00:00 2001 From: tanglong Date: Tue, 18 Aug 2026 15:57:39 +0800 Subject: [PATCH 1/3] kuayu --- YD_YiLu/appsettings.json | 2 +- 壹路文档/~$壹动站对接协议V1.9.docx | Bin 0 -> 162 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 壹路文档/~$壹动站对接协议V1.9.docx diff --git a/YD_YiLu/appsettings.json b/YD_YiLu/appsettings.json index 6485222..ead8ce2 100644 --- a/YD_YiLu/appsettings.json +++ b/YD_YiLu/appsettings.json @@ -33,7 +33,7 @@ "DbConnectionString": " Data Source=rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com;Database=SmartSportsServerDB_QA;User ID=qa;Password=Admin@123;Connect Timeout=500;", "SmartSportsString": " Data Source=rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com;Database=SmartSportsServerDB_QA;User ID=qa;Password=Admin@123;Connect Timeout=500;", - "CorsUrls": "http://localhost:8081,http://localhost:8080,http://localhost:7080,http://localhost:9980,http://127.0.0.1:9994,http://localhost:9994", + "CorsUrls": "http://localhost:8081,http://localhost:8080,http://localhost:7080,http://localhost:9980,http://127.0.0.1:9997,http://localhost:9997", "WeChat": { "Appid": "xxx", diff --git a/壹路文档/~$壹动站对接协议V1.9.docx b/壹路文档/~$壹动站对接协议V1.9.docx new file mode 100644 index 0000000000000000000000000000000000000000..843386ce427c2eca19b8c2da481da7e3b5022327 GIT binary patch literal 162 gcmZQANz6;nVIUE(GL$eRGUPF&Gmxy6M4K2G049 Date: Tue, 18 Aug 2026 15:58:55 +0800 Subject: [PATCH 2/3] d --- YD_YiLu/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YD_YiLu/Program.cs b/YD_YiLu/Program.cs index db274a4..2699c22 100644 --- a/YD_YiLu/Program.cs +++ b/YD_YiLu/Program.cs @@ -19,7 +19,7 @@ namespace YD_YiLu.Api { serverOptions.Limits.MaxRequestBodySize = 10485760; }); - webBuilder.UseKestrel().UseUrls("http://*:9996"); + webBuilder.UseKestrel().UseUrls("http://*:9997"); webBuilder.UseIIS(); webBuilder.UseStartup(); }).UseServiceProviderFactory(new AutofacServiceProviderFactory()); From f3a1abe8bfa07413e25795a4cd720a734f75cb48 Mon Sep 17 00:00:00 2001 From: tanglong Date: Thu, 20 Aug 2026 15:14:34 +0800 Subject: [PATCH 3/3] =?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