From 58a5a9af83492c5bbb4fba88b4443f08fa4becfc Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期二, 17 十二月 2024 19:53:14 +0800
Subject: [PATCH] 解决冲突

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

diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
index 7dc8b26..c7403ba 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
@@ -19,6 +19,7 @@
 using WIDESEA_Core.Core;
 using Swashbuckle.AspNetCore.SwaggerGen;
 using Microsoft.OpenApi.Models;
+using WIDESEA_StorageTaskServices;
 
 var builder = WebApplication.CreateBuilder(args);
 
@@ -109,6 +110,8 @@
     }
 });
 
+builder.Services.AddHostedService<MyBackgroundService>();
+
 
 var app = builder.Build();
 

--
Gitblit v1.9.3