From 041c7ab7bd4a31a181d192e2380656b7f46bd7b9 Mon Sep 17 00:00:00 2001 From: 86182 Date: Tue, 27 Sep 2022 11:21:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/phase2/index.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/api/phase2/index.js b/src/api/phase2/index.js index c15b0348..618e2e01 100644 --- a/src/api/phase2/index.js +++ b/src/api/phase2/index.js @@ -25,8 +25,16 @@ const qaAnswers=function (num){ return ajax.get('/xboe/portal/index/qa-answers?num='+num); } +/** + * 1最新 2最热 + * */ +const articlelist=function (type){ + return ajax.get('/xboe/portal/index/articlelist?type='+type); +} + export default { cases, articleViews, - qaAnswers + qaAnswers, + articlelist }