From 095c52c6ec7882ce11177178b49d33e6c886af61 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期一, 17 十一月 2025 15:02:38 +0800
Subject: [PATCH] 添加已完成标识
---
framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java | 166 +++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 148 insertions(+), 18 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 01b4655..7ccd220 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,17 @@
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.AuthorVideoQuery;
-import cn.lili.modules.lmk.domain.query.ManagerVideoQuery;
+import cn.lili.modules.lmk.domain.query.*;
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.query.VideoQuery;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+
import java.util.List;
/**
@@ -17,20 +21,6 @@
* @since 2025-05-16
*/
public interface VideoService extends IService<Video> {
-
- /**
- * 娣诲姞
- * @param form
- * @return
- */
- Result add(VideoForm form);
-
- /**
- * 淇敼
- * @param form
- * @return
- */
- Result update(VideoForm form);
/**
* 鎵归噺鍒犻櫎
@@ -72,7 +62,15 @@
* @param form
* @return
*/
- Result publish(VideoForm form);
+ Result publish(WxVideoForm form); /**
+ * 鍙戝竷瑙嗛
+ *
+ * @param form
+ * @return
+ */
+ Result systemPublish(WxVideoForm form);
+
+ Result sysUpdatePublish(WxVideoForm form);
/**
* 骞冲彴绔棰戝垎椤�
@@ -122,6 +120,12 @@
*/
Result recommendVideo(VideoQuery query);
+ Result healthRecommendVideo(WxHealthVideoQuery query);
+
+ Result kitchenTypeList();
+
+ Result kitchenRecommendVideo(WxKitchenVideoQuery query);
+
/**
* 鎵归噺鏇存柊瑙嗛鏀惰棌鏁伴噺
*
@@ -169,6 +173,14 @@
Result getAuthorCollectVideoPage(AuthorVideoQuery query);
/**
+ * 鑾峰彇瑙嗛涓婚〉浣滆�呯偣璧炶棰戝垎椤�
+ *
+ * @param query
+ * @return
+ */
+ Result getAuthorLikeVideoPage(AuthorVideoQuery query);
+
+ /**
* 淇濆瓨瑙嗛涓婚〉鐨勪釜浜轰俊鎭慨鏀�
*
* @param form
@@ -183,4 +195,122 @@
* @return
*/
Result wxDetail(String id);
+
+ /**
+ * 澶у仴搴疯棰戝彂甯�
+ *
+ * @param form
+ * @return
+ */
+ Result healthVideo(HealthVideoForm form);
+ /**
+ * 淇敼澶у仴搴疯棰�
+ *
+ * @param form
+ * @return
+ */
+ Result updateHealthVideo(HealthVideoForm form);
+ /**
+ * 澶у仴搴疯棰戝垪琛�
+ *
+ * @param query
+ * @return
+ */
+ Result healthPage(HealthVideoQuery query);
+ /**
+ * 鍒犻櫎澶у仴搴疯棰�
+
+ * @param id 涓婚敭id
+ * @return
+ */
+ Result delHealth(String id);
+
+ Result addKitchenVideo( KitchenVideoForm form);
+
+ Result updateKitchenVideo( KitchenVideoForm form);
+ /**
+ * 鍘ㄧ瑙嗛鍒楄〃
+ *
+ * @param query
+ * @return
+ */
+ Result KitchenVideoQuery(KitchenVideoQuery query);
+
+ Result delKitchen(String id);
+
+ /**
+ * 瑙嗛鍟嗗搧鏌ョ湅
+ *
+ * @param videoId
+ * @return
+ */
+ Result getGoodsDetail(String videoId);
+
+ /**
+ * 鐢ㄦ埛涓嬫灦瑙嗛
+ *
+ * @param id
+ * @return
+ */
+ Result buyerDownVideo(String id);
+
+ /**
+ * 淇敼瑙嗛
+ *
+ * @param form
+ * @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);
+
+ /**
+ * 瑙嗛鎼滅储-es
+ *
+ * @param query
+ * @return
+ */
+ Result esSearch(VideoEsQuery query);
+
+ /**
+ * 鑾峰彇鎾斁璁板綍
+ *
+ * @param query
+ * @return
+ */
+ Result getHistoryPage(VideoHistoryQuery query);
}
--
Gitblit v1.8.0