| | |
| | | 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.VideoAuditingForm; |
| | | import cn.lili.modules.lmk.domain.form.VideoDownForm; |
| | | import cn.lili.modules.lmk.domain.form.VideoRecommendForm; |
| | | import cn.lili.modules.lmk.domain.query.ManagerVideoQuery; |
| | | import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import cn.lili.base.Result; |
| | | import cn.lili.modules.lmk.domain.form.VideoForm; |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | Result detail(Integer id); |
| | | Result detail(String id); |
| | | |
| | | /** |
| | | * 列表 |
| | |
| | | * @return |
| | | */ |
| | | Result publish(VideoForm form); |
| | | |
| | | /** |
| | | * 平台端视频分页 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | Result managerPage(ManagerVideoQuery query); |
| | | |
| | | /** |
| | | * 首页推荐设置 |
| | | * |
| | | * @param form |
| | | * @return |
| | | */ |
| | | Result recommendSet(VideoRecommendForm form); |
| | | |
| | | /** |
| | | * 审核 |
| | | * |
| | | * @param form |
| | | * @return |
| | | */ |
| | | Result auditing(VideoAuditingForm form); |
| | | |
| | | /** |
| | | * 上架 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | Result up(String id); |
| | | |
| | | /** |
| | | * 下架 |
| | | * |
| | | * @param form |
| | | * @return |
| | | */ |
| | | Result down(VideoDownForm form); |
| | | |
| | | /** |
| | | * 小程序端的视频推荐接口 |
| | | * |
| | | * @return |
| | | */ |
| | | Result recommendVideo(AbsQuery query); |
| | | |
| | | /** |
| | | * 批量更新视频收藏数量 |
| | | * |
| | | * @param numList |
| | | */ |
| | | void updateCollectNumBatch(List<CollectTypeNumVO> numList); |
| | | } |