class StudioManagerController {

    @Autowired
    private StudioService studioService;

    @ApiOperation(value = "获取店铺直播间列表")
    @ApiImplicitParam(name = "status", value = "直播间状态", paramType = "query")
    @GetMapping
    public ResultMessage<IPage<StudioVO>> page(PageVO pageVO, String status) {
        return ResultUtil.data(studioService.studioList(pageVO, null, status));
    }

    @ApiOperation(value = "获取店铺直播间详情")
    @ApiImplicitParam(name = "studioId", value = "直播间ID", required = true, paramType = "path")
    @GetMapping("/{studioId}")
    public ResultMessage<StudioVO> studioInfo(@PathVariable String studioId) {
        return ResultUtil.data(studioService.getStudioVO(studioId));
    }

    @ApiOperation(value = "是否推荐直播间")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "Id", required = true, paramType = "path"),
            @ApiImplicitParam(name = "recommend", value = "是否推荐", required = true, paramType = "query")
    })
    @PutMapping("/recommend/{id}")
    public ResultMessage<Object> recommend(@PathVariable String id, @NotNull boolean recommend) {<FILL_FUNCTION_BODY>}
}

        if (studioService.update(new UpdateWrapper<Studio>()
                .eq("id", id)
                .set("recommend", recommend))) {
            return ResultUtil.success();
        }
        throw new ServiceException(ResultCode.ERROR);
    
<no_super_class>