From a1e3f781ee4a3687dcae3042f2d2898956cded44 Mon Sep 17 00:00:00 2001 From: zuohuaijun Date: Tue, 10 Sep 2024 13:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=8E=E7=A6=81=E6=AD=A2swagger=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=B7=AF=E7=94=B1=E8=A2=AB=E7=BB=A7=E6=89=BF=E9=87=8D?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj | 6 +++--- Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj b/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj index 8121b2c7..d3a02b27 100644 --- a/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj +++ b/Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj @@ -18,9 +18,9 @@ - - - + + + diff --git a/Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs b/Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs index b9be3949..49a9bb7a 100644 --- a/Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs +++ b/Admin.NET/Admin.NET.Core/Service/Auth/SysAuthService.cs @@ -330,7 +330,7 @@ public class SysAuthService : IDynamicApiController, ITransient /// /// [Route("/api/swagger/checkUrl"), NonUnify] - [DisplayName("Swagger登录检查")] + [ApiDescriptionSettings(Description = "Swagger登录检查", DisableInherite = true)] public int SwaggerCheckUrl() { return _httpContextAccessor.HttpContext.User.Identity.IsAuthenticated ? 200 : 401; @@ -342,7 +342,7 @@ public class SysAuthService : IDynamicApiController, ITransient /// /// [Route("/api/swagger/submitUrl"), NonUnify] - [DisplayName("Swagger登录提交")] + [ApiDescriptionSettings(Description = "Swagger登录提交", DisableInherite = true)] public async Task SwaggerSubmitUrl([FromForm] SpecificationAuth auth) { try