11
huanghongfeng
5 天以前 f4c3f82a3bd142bc555ec7f632dabc66ef86f5af
项目代码/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();