|
@@ -133,7 +133,6 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
|
|
|
@PostMapping("getMenuIdsForAdmin")
|
|
|
@ApiOperation("获取角色的管理员权限菜单")
|
|
|
public R<List<Long>> getMenuIdsForAdmin(@RequestBody @Validated SysMenuDto.RoleAdminMenuIdsDto roleAdminMenuIdsDto) {
|
|
|
- List<Long> list = new ArrayList<>();
|
|
|
List<Long> menuIds = sysRoleMenuService.getMenuIdsByRoleId(roleAdminMenuIdsDto.getRoleId(), Boolean.TRUE);
|
|
|
return R.ok(menuIds);
|
|
|
}
|