Commit 4a81f617 by fanjiaxin

联调问题处理

parent d043ed08
Pipeline #71571 passed with stages
in 1 minute 1 second
...@@ -47,8 +47,7 @@ public class AuthInterceptor implements HandlerInterceptor { ...@@ -47,8 +47,7 @@ public class AuthInterceptor implements HandlerInterceptor {
log.info("用户登录状态过期,token缓存失效,path:{}", request.getServletPath()); log.info("用户登录状态过期,token缓存失效,path:{}", request.getServletPath());
throw new NoAuthException("用户登录状态过期"); throw new NoAuthException("用户登录状态过期");
} }
} } else if (StringUtils.isNotBlank(token)) {
if(StringUtils.isNotBlank(token)){
// 刷新缓存 // 刷新缓存
jwtHelper.setLoginUserInfo(token); jwtHelper.setLoginUserInfo(token);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment