From f761c20fed6b4da3c8f7c9ee857c6ba18caf1893 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 29 五月 2025 18:15:11 +0800
Subject: [PATCH] 视频评论增加被回复人头像字段
---
api/video.js | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/api/video.js b/api/video.js
index fd76f80..843d069 100644
--- a/api/video.js
+++ b/api/video.js
@@ -47,3 +47,44 @@
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