|
@@ -56,7 +56,7 @@ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
|
|
String username = jwtTokenUtil.getUsernameFromToken(token);
|
|
String username = jwtTokenUtil.getUsernameFromToken(token);
|
|
if (username != null) {
|
|
if (username != null) {
|
|
if (CacheConstants.LOGIN_TOKEN_MAP.get(username) == null) {
|
|
if (CacheConstants.LOGIN_TOKEN_MAP.get(username) == null) {
|
|
- ResponseInfo.doResponse(response, "登录超时,请重新登录!", 403);
|
|
|
|
|
|
+ ResponseInfo.doResponse(response, "令牌无效,请重新登录!", 403);
|
|
return;
|
|
return;
|
|
} else {
|
|
} else {
|
|
String cacheToken = CacheConstants.LOGIN_TOKEN_MAP.get(username);
|
|
String cacheToken = CacheConstants.LOGIN_TOKEN_MAP.get(username);
|