From 558a3228beb73412d9254e492f49efd947942b9b Mon Sep 17 00:00:00 2001 From: chc <1501738723@qq.com> Date: Fri, 28 Oct 2022 10:46:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E6=96=87=E7=AB=A0=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/article.js | 13 +++++++++++++ pages/mine/help/tips.vue | 7 ++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/api/article.js b/api/article.js index 0d5bacc..6e2f6af 100644 --- a/api/article.js +++ b/api/article.js @@ -28,3 +28,16 @@ export function getArticleDetail(type) { }); } +/** + * 获取文章详情 + * @param type + */ + export function getArticleDetailByType(type) { + return http.request({ + url: `/other/article/type/${type}`, + method: Method.GET, + }); +} + + + diff --git a/pages/mine/help/tips.vue b/pages/mine/help/tips.vue index 19d3086..35936a1 100644 --- a/pages/mine/help/tips.vue +++ b/pages/mine/help/tips.vue @@ -1,11 +1,11 @@