关于文章跳转

This commit is contained in:
chc
2022-10-28 10:46:51 +08:00
parent 2e4bedae31
commit 558a3228be
2 changed files with 17 additions and 3 deletions

View File

@@ -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,
});
}