代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs
@@ -21,6 +21,7 @@ using Autofac.Core; using WIDESEAWCS_QuartzJob.QuartzExtensions; using Microsoft.AspNetCore.Builder; using System.Configuration; var builder = WebApplication.CreateBuilder(args); @@ -107,6 +108,9 @@ app.ConfigureApplication();//閰嶇疆鏂囦欢 app.UseApplicationSetup();//鍚姩閰嶇疆 app.UseSession(); //if (app.Environment.IsDevelopment()) { //todo @@ -116,6 +120,7 @@ app.UseIpLimitMiddle(); app.UseApiLogMiddleware(); //todo //app.UseRecordAccessLogsMiddle();