From d34c7c19ab062b8e99b7af7e1d44e009c1b9b739 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Tue, 19 Mar 2024 12:02:49 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/jczz_app

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

diff --git a/api/article/article.js b/api/article/article.js
index 6b612c7..b0dae09 100644
--- a/api/article/article.js
+++ b/api/article/article.js
@@ -9,3 +9,42 @@
 		}
 	})
 }
+
+export const getDetail = (params) => {
+	return http.request({
+		url: '/blade-article/article/detail',
+		method: 'GET',
+		params: {
+			...params
+		}
+	})
+}
+export const getCategory = (params) => {
+	return http.request({
+		url: '/blade-system/dict-biz/child-list',
+		method: 'GET',
+		params: {
+			...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