From c87d28d608d6ffb7ae9d871fb64a00c0f79eb076 Mon Sep 17 00:00:00 2001 From: yuyubo <1870149533@qq.com> Date: Sun, 18 May 2025 21:16:45 +0800 Subject: [PATCH] 2222 --- .../Dtos/Request/Act/SysloginAct.cs | 20 +++++++++++++++++++ .../PurchaseOrder/GlobalSwitchService.cs | 5 +++++ 2 files changed, 25 insertions(+) diff --git a/MyCode.Project.Domain/Dtos/Request/Act/SysloginAct.cs b/MyCode.Project.Domain/Dtos/Request/Act/SysloginAct.cs index d248352..d81ddbe 100644 --- a/MyCode.Project.Domain/Dtos/Request/Act/SysloginAct.cs +++ b/MyCode.Project.Domain/Dtos/Request/Act/SysloginAct.cs @@ -40,6 +40,16 @@ namespace MyCode.Project.Domain.Dtos.Request.Act /// public string TaiGuoVersion { get; set; } + /// + /// 珠海版本下载地址 + /// + public string Url { get; set; } + + /// + /// 泰国版本下载地址 + /// + public string TaiGuoUrl { get; set; } + /// /// 备注 /// @@ -76,6 +86,16 @@ namespace MyCode.Project.Domain.Dtos.Request.Act /// public string TaiGuoVersion { get; set; } + /// + /// 珠海版本下载地址 + /// + public string Url { get; set; } + + /// + /// 泰国版本下载地址 + /// + public string TaiGuoUrl { get; set; } + } } diff --git a/MyCode.Project.Services/Implementation/PurchaseOrder/GlobalSwitchService.cs b/MyCode.Project.Services/Implementation/PurchaseOrder/GlobalSwitchService.cs index 841ac95..3898b53 100644 --- a/MyCode.Project.Services/Implementation/PurchaseOrder/GlobalSwitchService.cs +++ b/MyCode.Project.Services/Implementation/PurchaseOrder/GlobalSwitchService.cs @@ -58,6 +58,8 @@ namespace MyCode.Project.Services.Implementation result.Version = temp.Version; result.TaiGuoVersion = temp.TaiGuoVersion; result.VersionName = temp.VersionName; + result.Url = temp.Url; + result.TaiGuoUrl = temp.TaiGuoUrl; } } result.LastModificationTime = config.EditTime; @@ -88,6 +90,9 @@ namespace MyCode.Project.Services.Implementation value.Version = act.Version; value.VersionName = act.VersionName; value.TaiGuoVersion = act.TaiGuoVersion; + value.Url = act.Url; + value.TaiGuoUrl = act.TaiGuoUrl; + config.Value = value.ToJson(); config.Note = act.Note; config.EditTime = DateTime.Now;