From 75f9783d5a70a5f037e3b34dc0e479069e63c0e9 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期二, 17 六月 2025 10:54:15 +0800
Subject: [PATCH] update 修改后台/销售端商品上架

---
 framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java |  172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 166 insertions(+), 6 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 583109b..5028bbf 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,10 +1,15 @@
 package cn.lili.modules.lmk.service;
 
+import cn.lili.group.Add;
 import cn.lili.modules.lmk.domain.entity.Video;
+import cn.lili.modules.lmk.domain.form.*;
+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.form.VideoForm;
-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;
 
 /**
@@ -20,14 +25,14 @@
      * @param form
      * @return
      */
-    Result add(VideoForm form);
+    Result add(WxVideoForm form);
 
     /**
      * 淇敼
      * @param form
      * @return
      */
-    Result update(VideoForm form);
+    Result update(WxVideoForm form);
 
     /**
      * 鎵归噺鍒犻櫎
@@ -55,7 +60,7 @@
      * @param id
      * @return
      */
-    Result detail(Integer id);
+    Result detail(String id);
 
     /**
      * 鍒楄〃
@@ -69,5 +74,160 @@
      * @param form
      * @return
      */
-    Result publish(VideoForm form);
+    Result publish(WxVideoForm 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
+     * @param query
+     */
+    Result recommendVideo(VideoQuery query);
+
+    Result healthRecommendVideo(WxHealthVideoQuery 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);
+
+    /**
+     * 澶у仴搴疯棰戝彂甯�
+     *
+     * @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);
+
 }

--
Gitblit v1.8.0