项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
@@ -20,6 +20,7 @@ using Swashbuckle.AspNetCore.SwaggerGen; using Microsoft.OpenApi.Models; using WIDESEA_StorageTaskServices; using WIDESEA_StoragIntegrationServices.WMSJob; var builder = WebApplication.CreateBuilder(args); @@ -110,7 +111,7 @@ } }); //builder.Services.AddHostedService<MyBackgroundService>(); builder.Services.AddHostedService<WMSCruJob>(); var app = builder.Build();