From c84ac9eab0fa68d95aa22bf389425bb332874540 Mon Sep 17 00:00:00 2001
From: clll <1320612696@qq.com>
Date: 星期三, 27 十二月 2023 10:28:59 +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