| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("获取主播端页面配置") |
| | | @GetMapping("/getByLoginAnchor") |
| | | public ApiResponse<WebParam> getByLoginAnchor() { |
| | | return ApiResponse.success(webParamService.findOneAnchor()); |
| | | } |
| | | |
| | | @ApiOperation("更新主播端页面配置") |
| | | @PostMapping("/renewAnchorUpdate") |
| | | public ApiResponse renewAnchorUpdate(@RequestBody UpdateWebParamDTO updateWebParamDTO) { |
| | | webParamService.renewAnchorUpdate(updateWebParamDTO); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("更新主播端生效页面版本") |
| | | @PostMapping("/updateAnchorPageVersion") |
| | | public ApiResponse updateAnchorPageVersion(@RequestBody UpdateWebParamDTO updateWebParamDTO) { |
| | | webParamService.updateAnchorPageVersion(updateWebParamDTO.getAnchorPageVersion()); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | } |