From 1ceaab54e82568a57599b61036aeccd110184e48 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期一, 06 四月 2026 09:51:53 +0800
Subject: [PATCH] 接口有效期控制与API日志异步批量写入优化

---
 项目代码/WMS/WMSServer/WIDESEA_WMSServer/Program.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Program.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Program.cs"
index b66dbe8..4a45b40 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Program.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Program.cs"
@@ -59,6 +59,7 @@
 
 builder.Services.AddSingleton<IJobFactory, JobFactory>();
 builder.Services.AddTransient<BackgroundJob>();//Job使用瞬时依赖注入
+builder.Services.AddTransient<WhiteCarAutoOutJob>();//Job使用瞬时依赖注入
 builder.Services.AddSingleton<ISchedulerCenter, SchedulerCenterServer>();
 
 builder.Services.AddHttpContextSetup();
@@ -116,11 +117,11 @@
 });
 
 //全自动出库
-builder.Services.AddHostedService<MyBackgroundService>();
+//builder.Services.AddHostedService<MyBackgroundService>();
 
 var app = builder.Build();
 
-app.UseQuartzJobMildd();
+//app.UseQuartzJobMildd();
 // 3、配置中间件
 app.UseMiniProfiler();//性能分析器
 app.ConfigureApplication();//配置文件

--
Gitblit v1.9.3