@ApiOperation(value = "角色的菜单集合", notes = "返回角色的菜单集合")
@GetMapping("/tree/roleId/name")
public R getRoleByRoleId(@RequestParam("roleId") @NotNull(message = "roleId不能为空") Integer roleId) {
return R.ok(sysMenuService.findMenuByRoleId(roleId)
.stream()
.map(MenuVO::getName)
.collect(Collectors.toList()));
}