From 2701dca44e1972afe9956ced2f949d2998c1bb4b Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 19 六月 2025 20:00:45 +0800 Subject: [PATCH] 客户管理详情 --- framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java | 83 ++++++++++++++++++++++++++++++++++++++--- 1 files changed, 76 insertions(+), 7 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java b/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java index 1464d39..0a4b93d 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java +++ b/framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java @@ -1,13 +1,12 @@ package cn.lili.modules.lmk.service; 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.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; import cn.lili.base.Result; -import cn.lili.modules.lmk.domain.form.VideoForm; import cn.lili.modules.lmk.domain.query.VideoQuery; import java.util.List; @@ -24,14 +23,14 @@ * @param form * @return */ - Result add(VideoForm form); + Result add(WxVideoForm form); /** * 淇敼 * @param form * @return */ - Result update(VideoForm form); + Result update(WxVideoForm form); /** * 鎵归噺鍒犻櫎 @@ -73,7 +72,7 @@ * @param form * @return */ - Result publish(VideoForm form); + Result publish(WxVideoForm form); /** * 骞冲彴绔棰戝垎椤� @@ -114,4 +113,74 @@ * @return */ Result down(VideoDownForm form); + + /** + * 灏忕▼搴忕鐨勮棰戞帹鑽愭帴鍙� + * + * @return + * @param query + */ + Result recommendVideo(VideoQuery query); + + /** + * 鎵归噺鏇存柊瑙嗛鏀惰棌鏁伴噺 + * + * @param numList + */ + 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); + + /** + * 淇濆瓨瑙嗛涓婚〉鐨勪釜浜轰俊鎭慨鏀� + * + * @param form + * @return + */ + Result homePageInfoEdit(VideoHomePageInfoForm form); + + /** + * 灏忕▼搴�-瑙嗛璇︽儏 + * + * @param id + * @return + */ + Result wxDetail(String id); } -- Gitblit v1.8.0