From 2f68e5600f0b60d6f8d170f4536e1fc410662ea7 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 01 七月 2025 11:14:39 +0800 Subject: [PATCH] 视频es处理通过mq异步执行 --- framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java | 29 +++++++++++++++-------------- 1 files changed, 15 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 f81ad39..16f3932 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,7 @@ 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.Video; import cn.lili.modules.lmk.domain.form.*; import cn.lili.modules.lmk.domain.query.*; @@ -19,20 +20,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); /** * 鎵归噺鍒犻櫎 @@ -257,4 +244,18 @@ * @return */ Result updatePublish(WxVideoForm form); + + /** + * mq鎵ц瑙嗛鏀惰棌/鍙栨秷鏀惰棌 + * + * @param collect + */ + void mqCollectChange(MyCollect collect); + + /** + * 閲嶅缓瑙嗛es绱㈠紩 + * + * @return + */ + Result recreateEsIndex(); } -- Gitblit v1.8.0