| | |
| | | import cn.lili.group.Update; |
| | | import cn.lili.group.Add; |
| | | import cn.lili.modules.lmk.domain.form.VideoFootPrintForm; |
| | | import cn.lili.modules.lmk.domain.form.VideoHomePageInfoForm; |
| | | import cn.lili.modules.lmk.domain.query.AuthorVideoQuery; |
| | | import cn.lili.modules.member.entity.dos.FootPrint; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | |
| | | @GetMapping("/recommend") |
| | | @ApiOperation(value = "视频推荐", notes = "视频推荐") |
| | | public Result recommendVideo(AbsQuery query) { |
| | | public Result recommendVideo(VideoQuery query) { |
| | | return videoService.recommendVideo(query); |
| | | } |
| | | |
| | |
| | | public Result getAuthorVideoPage(AuthorVideoQuery query) { |
| | | return videoService.getAuthorVideoPage(query); |
| | | } |
| | | |
| | | @GetMapping("/author-collect-video-page") |
| | | @ApiOperation(value = "获取视频主页作者收藏的视频分页", notes = "获取视频主页作者收藏的视频分页") |
| | | public Result getAuthorCollectVideoPage(AuthorVideoQuery query) { |
| | | return videoService.getAuthorCollectVideoPage(query); |
| | | } |
| | | |
| | | @PostMapping("/home-page-info-edit") |
| | | @ApiOperation(value = "保存视频主页的个人信息修改", notes = "保存视频主页的个人信息修改") |
| | | public Result homePageInfoEdit(@RequestBody @Validated VideoHomePageInfoForm form) { |
| | | return videoService.homePageInfoEdit(form); |
| | | } |
| | | } |