|
|
|
@ -84,6 +84,8 @@ public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IR
|
|
|
|
|
@Override |
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
public boolean grant(@NotEmpty List<Long> roleIds, List<Long> menuIds, List<Long> dataScopeIds, List<Long> apiScopeIds,List<Long> appMenuIds) { |
|
|
|
|
|
|
|
|
|
// 这里的菜单存在问题
|
|
|
|
|
return grantRoleMenu(roleIds, menuIds) && grantDataScope(roleIds, dataScopeIds) && grantApiScope(roleIds, apiScopeIds) && grantRoleAppMenu(roleIds, appMenuIds); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|