| | |
| | | return returnData(R.SUCCESS.getCode(), filmWorksService.queryPage(dto, page)); |
| | | } |
| | | |
| | | @GetMapping("/filmWorks/collect/list") |
| | | @ApiOperation(value = "个人影视作品收藏列表", httpMethod = "GET") |
| | | public ResponseEntity<ReturnDataDTO<Page<FilmWorksVO>>> getFilmWorksCollectList(Page page, FilmWorksQueryDTO dto) { |
| | | return returnData(R.SUCCESS.getCode(), filmWorksService.getFilmWorksCollectList(dto, page)); |
| | | } |
| | | |
| | | @GetMapping("/filmWorks/like/list") |
| | | @ApiOperation(value = "个人影视作品点赞列表", httpMethod = "GET") |
| | | public ResponseEntity<ReturnDataDTO<Page<FilmWorksVO>>> getFilmWorksLikeList(Page page, FilmWorksQueryDTO dto) { |
| | | return returnData(R.SUCCESS.getCode(), filmWorksService.getFilmWorksLikeList(dto, page)); |
| | | } |
| | | |
| | | |
| | | @GetMapping(value = "/filmWorks/delete") |
| | | @ApiOperation(value = "删除影视作品 ", httpMethod = "GET", notes = "ID") |
| | |
| | | return returnData(R.SUCCESS.getCode(), null); |
| | | } |
| | | |
| | | @GetMapping("/filmWorks/changeCreateStatus") |
| | | @ApiOperation(value = "修改创建状态", notes = "修改创建状态") |
| | | public ResponseEntity<ReturnDataDTO> changeCreateStatus(@NotNull(message = "id不能为空") Long id) { |
| | | filmWorksService.changeCreateStatus(id); |
| | | return returnData(R.SUCCESS.getCode(), null); |
| | | } |
| | | |
| | | @GetMapping("/filmWorks/setTop") |
| | | @ApiOperation(value = "文章置顶", notes = "文章置顶") |
| | | public ResponseEntity<ReturnDataDTO> setTop(@NotNull(message = "id不能为空") Long id) { |