From 2502b12e05029149f0cd5aea6c25bc419520cc4f Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 03 六月 2025 11:43:24 +0800
Subject: [PATCH] 视频主页部分接口

---
 framework/src/main/java/cn/lili/modules/lmk/service/VideoService.java |   93 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 91 insertions(+), 2 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..de396a9 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,9 +1,13 @@
 package cn.lili.modules.lmk.service;
 
+import cn.lili.base.AbsQuery;
 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.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;
 
@@ -55,7 +59,7 @@
      * @param id
      * @return
      */
-    Result detail(Integer id);
+    Result detail(String id);
 
     /**
      * 鍒楄〃
@@ -70,4 +74,89 @@
      * @return
      */
     Result publish(VideoForm 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
+     */
+    Result recommendVideo(AbsQuery 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);
 }

--
Gitblit v1.8.0