From cb385f0b515c738b503c5c75c9d7efcec323716d Mon Sep 17 00:00:00 2001 From: duyongjia <adu_555@163.com> Date: 星期五, 28 二月 2025 09:12:40 +0800 Subject: [PATCH] 数据库脚本提交 --- 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs" index fd5dc39..64fb47e 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs" @@ -107,12 +107,12 @@ app.ConfigureApplication();//配置文件 app.UseApplicationSetup();//启动配置 app.UseSession(); -if (app.Environment.IsDevelopment()) -{ +//if (app.Environment.IsDevelopment()) +//{ //todo //app.UseSwaggerAuthorized(); app.UseSwaggerMiddle(() => Assembly.GetExecutingAssembly().GetManifestResourceStream("WIDESEAWCS_Server.index.html")); -}//判断是否需要打开swagger +//}//判断是否需要打开swagger app.UseIpLimitMiddle(); app.UseApiLogMiddleware(); -- Gitblit v1.9.3