Commit cb4266dd by fanjiaxin

放开权限,联调

parent 9bee3634
Pipeline #71491 passed with stages
in 1 minute 6 seconds
......@@ -33,7 +33,7 @@ public class AuthInterceptor implements HandlerInterceptor {
log.info("AuthInterceptor preHandle execute, url:{}", request.getRequestURI());
String token = request.getHeader(CoreConstant.AUTH_HEADER_TOKEN_KEY);
if (StringUtils.isEmpty(token)) {
throw new NoAuthException("用户认证失败");
throw new NoAuthException("用户认证失败,TOKEN为空");
}
LoginUserInfo loginUserInfo = jwtHelper.getLoginUserInfo(token);
if (null == loginUserInfo) {
......
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