From 027b75833ae1bc3bd1bb597b18c65c9177fa62d4 Mon Sep 17 00:00:00 2001 From: yangpeixing <yangpeixing@hnkhzn.com> Date: 星期三, 17 十二月 2025 12:10:18 +0800 Subject: [PATCH] 1.WMS中添加自动打印开关 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs" index fae4d26..0a76ff2 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs" @@ -106,6 +106,8 @@ builder.Services.AddHostedService<MyBackgroundService>(); +builder.Services.AddSingleton<PrintStatusContainer>(); + var app = builder.Build(); // 3、配置中间件 -- Gitblit v1.9.3