From cee9fb315dfcf89956fecee9ed2031ad9357e228 Mon Sep 17 00:00:00 2001
From: Demo <Demo@DESKTOP-CPA90BF>
Date: 星期三, 17 七月 2024 19:25:23 +0800
Subject: [PATCH] 修改申请巷道方法

---
 Wms/Wms/Startup.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Wms/Wms/Startup.cs b/Wms/Wms/Startup.cs
index dbf35ec..0abb15e 100644
--- a/Wms/Wms/Startup.cs
+++ b/Wms/Wms/Startup.cs
@@ -28,6 +28,9 @@
         // This method gets called by the runtime. Use this method to add services to the container.
         public void ConfigureServices(IServiceCollection services)
         {
+            //调用定时任务
+            services.AddHostedService<DailyTaskService>();
+
             services.AddControllers()
                 .AddJsonOptions(options =>
                     {

--
Gitblit v1.8.0