From 9a6e0187d0994bcfc30cd48bad65b8b17a6f4ba1 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 09 三月 2026 09:33:44 +0800
Subject: [PATCH] config: 注册 RoundRobinService 为单例服务

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
index 32e4349..815fd7b 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
@@ -42,6 +42,7 @@
 // 2锟斤拷锟斤拷锟矫凤拷锟斤拷
 builder.Services.AddSingleton(new AppSettings(builder.Configuration));//注锟斤拷
 builder.Services.AddAllOptionRegister();//锟斤拷取锟斤拷锟斤拷锟侥硷拷
+builder.Services.AddSingleton<RoundRobinService>();
 builder.Services.Configure<AutoOutboundTaskOptions>(
     builder.Configuration.GetSection("AutoOutboundTask"));
 builder.Services.AddMemoryCacheSetup();//锟斤拷锟斤拷

--
Gitblit v1.9.3