From bb8cc4ab39216f99e9fcbcfefeda5719b5d25400 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Sat, 2 Jan 2021 22:37:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90auth=E3=80=91=E6=9B=B4=E6=96=B0auth?= =?UTF-8?q?=E6=A0=A1=E9=AA=8Ctoken=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java b/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java index fdacfd704..9fada5f1d 100644 --- a/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java +++ b/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java @@ -97,7 +97,7 @@ public class AuthServiceImpl implements AuthServiceApi { // 其他情况为返回jwt解析错误 throw new AuthException(TOKEN_PARSE_ERROR); } - } catch (Exception jwtSelfException) { + } catch (io.jsonwebtoken.JwtException jwtSelfException) { // 其他jwt解析错误 throw new AuthException(TOKEN_PARSE_ERROR); }