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