| | |
| | | package cn.lili.modules.lmk.service; |
| | | |
| | | import cn.lili.base.AbsQuery; |
| | | import cn.lili.modules.lmk.domain.entity.Video; |
| | | import cn.lili.modules.lmk.domain.form.*; |
| | | import cn.lili.modules.lmk.domain.query.AuthorVideoQuery; |
| | | import cn.lili.modules.lmk.domain.query.ManagerVideoQuery; |
| | | import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | * 小程序端的视频推荐接口 |
| | | * |
| | | * @return |
| | | * @param query |
| | | */ |
| | | Result recommendVideo(AbsQuery query); |
| | | Result recommendVideo(VideoQuery query); |
| | | |
| | | /** |
| | | * 批量更新视频收藏数量 |
| | |
| | | void updateCollectNumBatch(List<CollectTypeNumVO> numList); |
| | | |
| | | /** |
| | | * 批量更新视频评论数量 |
| | | * |
| | | * @param numList |
| | | */ |
| | | void updateCommentNumBatch(List<CollectTypeNumVO> numList); |
| | | |
| | | /** |
| | | * 保存视频观看记录 |
| | | * |
| | | * @param form |
| | | * @return |
| | | */ |
| | | Result saveViewRecord(VideoFootPrintForm form); |
| | | |
| | | /** |
| | | * 获取视频主页作者信息 |
| | | * |
| | | * @param authorId |
| | | * @return |
| | | */ |
| | | Result getAuthorInfo(String authorId); |
| | | |
| | | /** |
| | | * 获取视频主页作者视频分页 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | Result getAuthorVideoPage(AuthorVideoQuery query); |
| | | |
| | | /** |
| | | * 获取视频主页作者收藏视频分页 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | Result getAuthorCollectVideoPage(AuthorVideoQuery query); |
| | | } |