huanghongfeng
2024-12-11 dfea94129c7d203aaaab8d0f6514aee74258e6a1
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs
@@ -61,7 +61,7 @@
builder.Services.AddHttpContextSetup();
builder.Services.AddHostedService<QuartzJobHostedService>();
builder.Services.AddHostedService<QuartzJobHostedService>();//浠诲姟璋冨害 鍚姩鏈嶅姟
builder.Services.AddMvc(options =>
{
@@ -107,7 +107,7 @@
app.ConfigureApplication();//閰嶇疆鏂囦欢
app.UseApplicationSetup();//鍚姩閰嶇疆
app.UseSession();
if (app.Environment.IsDevelopment())
//if (app.Environment.IsDevelopment())
{
    //todo
    //app.UseSwaggerAuthorized();