|
@@ -57,7 +57,7 @@ public class AuthFilter implements GlobalFilter, Ordered
|
|
57
|
String userStr = sops.get(CacheConstants.LOGIN_TOKEN_KEY + token);
|
57
|
String userStr = sops.get(CacheConstants.LOGIN_TOKEN_KEY + token);
|
|
58
|
if (StringUtils.isNull(userStr))
|
58
|
if (StringUtils.isNull(userStr))
|
|
59
|
{
|
59
|
{
|
|
60
|
- return setUnauthorizedResponse(exchange, "令牌验证失败");
|
|
|
|
|
|
60
|
+ return setUnauthorizedResponse(exchange, "登录状态已过期");
|
|
61
|
}
|
61
|
}
|
|
62
|
JSONObject obj = JSONObject.parseObject(userStr);
|
62
|
JSONObject obj = JSONObject.parseObject(userStr);
|
|
63
|
String userid = obj.getString("userid");
|
63
|
String userid = obj.getString("userid");
|