Skip to content

Commit f413aea

Browse files
committed
[代码优化](v2.6):修复修改角色菜单缓存问题
1 parent 5e95ae5 commit f413aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eladmin-system/src/main/java/me/zhengjie/modules/system/service/impl/RoleServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public void delCaches(Long id, List<User> users) {
220220
redisUtils.delByKeys(CacheKey.DATE_USER, userIds);
221221
redisUtils.delByKeys(CacheKey.MENU_USER, userIds);
222222
redisUtils.delByKeys(CacheKey.ROLE_AUTH, userIds);
223-
redisUtils.del(CacheKey.ROLE_ID + id);
224223
}
224+
redisUtils.del(CacheKey.ROLE_ID + id);
225225
}
226226
}

0 commit comments

Comments
 (0)