From 07a8e96750473fbdf676993191c41155ddf8146e Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 01 七月 2025 15:55:20 +0800 Subject: [PATCH] 视频点赞实现 --- framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java | 56 ++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 42 insertions(+), 14 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 8b8f5c4..054521f 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,6 +1,8 @@ package cn.lili.modules.lmk.service; 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.*; @@ -19,20 +21,6 @@ * @since 2025-05-16 */ public interface VideoService extends IService<Video> { - - /** - * 娣诲姞 - * @param form - * @return - */ - Result add(WxVideoForm form); - - /** - * 淇敼 - * @param form - * @return - */ - Result update(WxVideoForm form); /** * 鎵归噺鍒犻櫎 @@ -125,6 +113,10 @@ Result recommendVideo(VideoQuery query); Result healthRecommendVideo(WxHealthVideoQuery query); + + Result kitchenTypeList(); + + Result kitchenRecommendVideo(WxKitchenVideoQuery query); /** * 鎵归噺鏇存柊瑙嗛鏀惰棌鏁伴噺 @@ -253,4 +245,40 @@ * @return */ Result updatePublish(WxVideoForm form); + + /** + * mq鎵ц瑙嗛鏀惰棌/鍙栨秷鏀惰棌 + * + * @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); } -- Gitblit v1.8.0