From 3c738f4fe2762bba8087e5a22fc0dc06560eab0e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 08 Aug 2024 10:01:17 +0800
Subject: [PATCH] 三色任务与自查任务
---
api/circle/circle.js | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/api/circle/circle.js b/api/circle/circle.js
index 4fb07ef..53ed148 100644
--- a/api/circle/circle.js
+++ b/api/circle/circle.js
@@ -29,4 +29,33 @@
...params
}
})
+}
+
+//圈子点赞
+export const handleLike = (params) => {
+ return http.request({
+ url: '/blade-circleLike/circleLike/submit',
+ method: 'POST',
+ data: params
+ })
+}
+
+//圈子评论
+export const handleAddComment = (params) => {
+ return http.request({
+ url: '/blade-circleComment/circleComment/save',
+ method: 'POST',
+ data: params
+ })
+}
+
+//评论列表
+export const getComment = (params) => {
+ return http.request({
+ url: '/blade-circleComment/circleComment/page',
+ method: 'GET',
+ params: {
+ ...params
+ }
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3