From fa0cc239d1a923d3a37d39f4a006a0be4b1ddfac Mon Sep 17 00:00:00 2001 From: lulz1 Date: Mon, 1 Apr 2024 16:58:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0client=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/webconfig/JwtTokenAdminInterceptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java b/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java index 20a0a8b1..902f78be 100644 --- a/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java +++ b/src/main/java/com/chint/infrastructure/config/webconfig/JwtTokenAdminInterceptor.java @@ -67,8 +67,8 @@ public class JwtTokenAdminInterceptor implements HandlerInterceptor { if (res) { return true; } else { -// throw new AuthException(JWT_INVALID); - return true; + throw new AuthException(JWT_INVALID); +// return true; } } } \ No newline at end of file