From 569e91c63636345391f741df049c9374a141a434 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期一, 26 八月 2024 08:57:33 +0800 Subject: [PATCH] 添加路由新建配置,重新导出种子数据 --- WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs b/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs index 2b90606..36684ae 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs @@ -70,7 +70,6 @@ { options.Filters.Add(typeof(ApiAuthorizeFilter)); //options.Filters.Add(typeof(ActionExecuteFilter)); - // options.SuppressAsyncSuffixInActionNames = false; }); builder.Services.AddAuthorizationSetup(); @@ -138,11 +137,8 @@ app.UseRouting(); - app.UseAuthentication(); app.UseAuthorization(); - - app.MapControllers(); -- Gitblit v1.9.3