From a97c0e84c8d1f50aa65935643a580527f30b7ece Mon Sep 17 00:00:00 2001 From: 廖井涛 <2265517004@qq.com> Date: 星期二, 12 三月 2024 08:39:38 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override --- north-glass-erp/src/main/java/com/example/erp/common/interceptor/JwtInterceptor.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/common/interceptor/JwtInterceptor.java b/north-glass-erp/src/main/java/com/example/erp/common/interceptor/JwtInterceptor.java index 28b42e7..60ed717 100644 --- a/north-glass-erp/src/main/java/com/example/erp/common/interceptor/JwtInterceptor.java +++ b/north-glass-erp/src/main/java/com/example/erp/common/interceptor/JwtInterceptor.java @@ -29,7 +29,7 @@ @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { //return HandlerInterceptor.super.preHandle(request, response, handler); - String token=request.getHeader("token"); + /*String token=request.getHeader("token"); if(!(handler instanceof HandlerMethod)){ return true; } @@ -58,7 +58,7 @@ jwtVerifier.verify(token); } catch (JWTVerificationException e) { throw new ServiceException(Constants.Code_401,"token楠岃瘉澶辫触,璇烽噸鏂扮櫥闄�"); - } + }*/ return true; } -- Gitblit v1.8.0