| | |
| | | return videoService.getAuthorCollectVideoPage(query); |
| | | } |
| | | |
| | | @GetMapping("/author-like-video-page") |
| | | @ApiOperation(value = "获取视频主页作者点赞的视频分页", notes = "获取视频主页作者点赞的视频分页") |
| | | public Result getAuthorLikeVideoPage(AuthorVideoQuery query) { |
| | | return videoService.getAuthorLikeVideoPage(query); |
| | | } |
| | | |
| | | @PostMapping("/home-page-info-edit") |
| | | @ApiOperation(value = "保存视频主页的个人信息修改", notes = "保存视频主页的个人信息修改") |
| | | public Result homePageInfoEdit(@RequestBody @Validated VideoHomePageInfoForm form) { |
| | |
| | | public Result changeThumbsUp(@RequestBody @Validated(Add.class) ThumbsUpRecordForm form) { |
| | | return videoService.changeThumbsUp(form); |
| | | } |
| | | |
| | | @GetMapping("/es/search") |
| | | @ApiOperation(value = "视频搜索", notes = "视频搜索") |
| | | public Result esSearch(VideoEsQuery query) { |
| | | return videoService.esSearch(query); |
| | | } |
| | | } |