|
@@ -32,9 +32,8 @@ public class TokenInterceptor implements HandlerInterceptor {
|
|
|
return false;
|
|
|
}
|
|
|
try {
|
|
|
- String redisKey = String.format(RedisKey.TOKEN_V3,redisUtil.get(token));
|
|
|
+ String redisKey = String.format(RedisKey.TOKEN_V3,token);
|
|
|
if(redisUtil.hasKey(redisKey)){
|
|
|
- //redisUtil.expire(token,2 * 60 * 60);
|
|
|
redisUtil.expire(redisKey,2 * 60 * 60);
|
|
|
return true;
|
|
|
}
|