| | |
| | | |
| | | import cn.lili.group.Add; |
| | | import cn.lili.modules.lmk.domain.entity.MyCollect; |
| | | import cn.lili.modules.lmk.domain.entity.ThumbsUpRecord; |
| | | import cn.lili.modules.lmk.domain.entity.Video; |
| | | import cn.lili.modules.lmk.domain.form.*; |
| | | import cn.lili.modules.lmk.domain.query.*; |
| | |
| | | * @since 2025-05-16 |
| | | */ |
| | | public interface VideoService extends IService<Video> { |
| | | |
| | | /** |
| | | * 添加 |
| | | * @param form |
| | | * @return |
| | | */ |
| | | Result add(WxVideoForm form); |
| | | |
| | | /** |
| | | * 修改 |
| | | * @param form |
| | | * @return |
| | | */ |
| | | Result update(WxVideoForm form); |
| | | |
| | | /** |
| | | * 批量删除 |
| | |
| | | Result getAuthorCollectVideoPage(AuthorVideoQuery query); |
| | | |
| | | /** |
| | | * 获取视频主页作者点赞视频分页 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | Result getAuthorLikeVideoPage(AuthorVideoQuery query); |
| | | |
| | | /** |
| | | * 保存视频主页的个人信息修改 |
| | | * |
| | | * @param form |
| | |
| | | * @param collect |
| | | */ |
| | | void mqCollectChange(MyCollect collect); |
| | | |
| | | /** |
| | | * 重建视频es索引 |
| | | * |
| | | * @return |
| | | */ |
| | | Result recreateEsIndex(); |
| | | |
| | | /** |
| | | * 修改视频点赞状态 |
| | | * |
| | | * @param form |
| | | * @return |
| | | */ |
| | | Result changeThumbsUp(ThumbsUpRecordForm form); |
| | | |
| | | /** |
| | | * mq修改视频点赞状态 |
| | | * |
| | | * @param thumbsUpRecord |
| | | */ |
| | | void mqChangeThumbsUp(ThumbsUpRecord thumbsUpRecord); |
| | | |
| | | /** |
| | | * 批量更新视频点赞数量 |
| | | * |
| | | * @param numList |
| | | */ |
| | | void updateThumbsUpNumBatch(List<CollectTypeNumVO> numList); |
| | | |
| | | /** |
| | | * 视频搜索-es |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | Result esSearch(VideoEsQuery query); |
| | | } |