From 0a33c8460d60cf315542dfe60bffd14a08cf9495 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Fri, 01 Dec 2023 18:16:37 +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