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 @@