Skip to content

Commit

Permalink
[缺陷修复](v2.5): 修复修改角色权限按钮后缓存未刷新的Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
elunez committed Jun 15, 2020
1 parent 0cd4ff9 commit 96276df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public void updateMenu(Role resources, RoleDto roleDTO) {
role.setMenus(resources.getMenus());
// 清理缓存
redisUtils.delByKeys("menu::user:",userIds);
redisUtils.delByKeys("role::auth:",userIds);
redisUtils.del("role::id:" + resources.getId());
roleRepository.save(role);
}
Expand Down

0 comments on commit 96276df

Please sign in to comment.