| | |
| | | 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 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); |
| | | } |
| | | |
| | | @GetMapping("/wx/detail/{id}") |
| | | @ApiOperation(value = "小程序-获取视频详情", notes = "小程序-获取视频详情") |
| | | public Result wxDetail(@PathVariable("id") String id) { |
| | | return videoService.wxDetail(id); |
| | | } |
| | | } |