From df966fde94d563ada90fe30c6cc2b82857fda1ae Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Tue, 28 Nov 2023 18:46:42 +0800
Subject: [PATCH] 优化投票、选举样式;新增文章评论功能;优化部分页面;网格圈页面编写

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

diff --git a/api/article/article.js b/api/article/article.js
index ca55b45..b0dae09 100644
--- a/api/article/article.js
+++ b/api/article/article.js
@@ -27,4 +27,24 @@
 			...params
 		}
 	})
+}
+
+//获取文章评论
+export const getCommentList = (params) => {
+	return http.request({
+		url: '/blade-articleComment/articleComment/page',
+		method: 'GET',
+		params: {
+			...params
+		}
+	})
+}
+
+//添加评论
+export const addComment = (params) => {
+	return http.request({
+		url: '/blade-articleComment/articleComment/save',
+		method: 'POST',
+		data: params
+	})
 }
\ No newline at end of file

--
Gitblit v1.9.3