From 0dbc8273bdfbcabcc4b770546245f6b17d787de9 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 13 三月 2026 14:44:50 +0800
Subject: [PATCH] fix: 修复API控制器依赖注入和路由配置

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Core/AutoOutboundTaskOptions.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Core/AutoOutboundTaskOptions.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Core/AutoOutboundTaskOptions.cs
index 3822f2e..a619a6a 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Core/AutoOutboundTaskOptions.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Core/AutoOutboundTaskOptions.cs
@@ -18,13 +18,13 @@
         public int CheckIntervalSeconds { get; set; } = 300;
 
         /// <summary>
-        /// 鎸夊贩閬撳墠缂�閰嶇疆鐩爣鍦板潃
+        /// 鎸夊贩閬撳墠缂�閰嶇疆鐩爣鍦板潃锛堟敮鎸佸鍑哄簱鍙o級
         /// </summary>
-        public Dictionary<string, string> TargetAddresses { get; set; }
+        public Dictionary<string, List<string>> TargetAddresses { get; set; }
             = new()
             {
-                { "GW", "10081" },
-                { "CW", "10080" }
+                { "GW", new List<string> { "10081" } },
+                { "CW", new List<string> { "10080" } }
             };
     }
 }

--
Gitblit v1.9.3