fix : 非管理员用户登录有权限错误

This commit is contained in:
clay
2024-03-08 19:24:44 +08:00
parent d3d4b231cf
commit c6928f1f01
6 changed files with 56 additions and 23 deletions

View File

@@ -118,6 +118,7 @@ public class TokenService {
if (!StrUtil.isEmpty(token)) {
String userKey = getTokenKey(token);
redisTemplate.delete(userKey);
redisTemplate.delete(CacheConstants.ROUTE_CACHE_KEY + token);
}
}