From b62daf4aaca5fcb8eea7bfd4149dbb92b10f50de Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 04 六月 2025 11:40:06 +0800
Subject: [PATCH] 我的活动,活动,用户管理页面,

---
 api/video.js |   68 ++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 0 deletions(-)

diff --git a/api/video.js b/api/video.js
index 40d2bfd..843d069 100644
--- a/api/video.js
+++ b/api/video.js
@@ -20,3 +20,71 @@
     data: data
   });
 }
+
+/**
+ * 鑾峰彇浜斾釜鎺ㄨ崘瑙嗛
+ * 
+ * @param params
+ */
+ export function getRecommendVideos() {
+  return http.request({
+    url: "/lmk/video/recommend",
+    method: Method.GET,
+    needToken: true
+  });
+}
+
+/**
+ * 淇濆瓨瑙嗛鎾斁璁板綍
+ * 
+ * @param params
+ */
+ export function savePlayRecord(data) {
+  return http.request({
+    url: "/lmk/video/view/record",
+    method: Method.POST,
+    needToken: true,
+	data: data
+  });
+}
+
+/**
+ * 鍏虫敞浣滆��
+ * 
+ * @param params
+ */
+ export function subscribe(authorId) {
+  return http.request({
+    url: "/lmk/my-subscribe/subscribe/" + authorId,
+    method: Method.POST,
+    needToken: true
+  });
+}
+
+/**
+ * 鑾峰彇瑙嗛璇勮
+ * 
+ * @param params
+ */
+ export function getVideoComments(params) {
+  return http.request({
+    url: "/lmk/video-comment/wx/page",
+    method: Method.GET,
+    needToken: true,
+	params: params
+  });
+}
+
+/**
+ * 鍙戝竷瑙嗛璇勮
+ * 
+ * @param params
+ */
+ export function addVideoComment(data) {
+  return http.request({
+    url: "/lmk/video-comment/comment",
+    method: Method.POST,
+    needToken: true,
+	data: data
+  });
+}

--
Gitblit v1.8.0