|
@@ -196,7 +196,7 @@ public class SysRoleFacade extends SysRoleServiceImpl {
|
|
}
|
|
}
|
|
sysRolePermissionService.saveBatch(sysRolePermissionList);
|
|
sysRolePermissionService.saveBatch(sysRolePermissionList);
|
|
}
|
|
}
|
|
- //清楚该角色的所有用户的token缓存
|
|
|
|
|
|
+ //清除该角色的所有用户的token缓存
|
|
if (ListUtil.isNotEmpty(userIds)) {
|
|
if (ListUtil.isNotEmpty(userIds)) {
|
|
for (Long id : userIds) {
|
|
for (Long id : userIds) {
|
|
tokenFacade.deleteToken(id.toString());
|
|
tokenFacade.deleteToken(id.toString());
|