From 2b1e5f1a3a16459d1b236d621413fb80bab17637 Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Mon, 3 Apr 2023 12:56:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=99=BB=E5=BD=95=E6=97=B6?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=97=A0=E6=95=88=E7=A7=9F=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E7=99=BB=E5=BD=95=E5=A4=B1=E8=B4=A5=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=B8=8D=E5=8F=8B=E5=A5=BD=E9=97=AE=E9=A2=98=EF=BC=8C=E8=BF=98?= =?UTF-8?q?=E5=8E=9F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenant/core/security/TenantSecurityWebFilter.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/security/TenantSecurityWebFilter.java b/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/security/TenantSecurityWebFilter.java index 74e449387..5995dc02d 100644 --- a/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/security/TenantSecurityWebFilter.java +++ b/yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/security/TenantSecurityWebFilter.java @@ -79,10 +79,6 @@ public class TenantSecurityWebFilter extends ApiRequestFilter { if (tenantId == null) { log.error("[doFilterInternal][URL({}/{}) 未传递租户编号]", request.getRequestURI(), request.getMethod()); String msg = "请求的租户标识未传递,请进行排查"; - if ("/admin-api/system/auth/login".equals(request.getRequestURI())) - { - msg = "登录失败,租户名称不正确"; - } ServletUtils.writeJSON(response, CommonResult.error(GlobalErrorCodeConstants.BAD_REQUEST.getCode(), msg)); return; }