23 lines
617 B
JavaScript
23 lines
617 B
JavaScript
|
import request from "@/utils/request.js";
|
||
|
|
||
|
// 获得文章分类列表
|
||
|
export function getArticleCategoryList() {
|
||
|
return request.get("app-api/promotion/article-category/list", {}, {
|
||
|
noAuth: true // TODO 芋艿:后续要做调整
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// 获得文章列表
|
||
|
export function getArticleList(data) {
|
||
|
return request.get("app-api/promotion/article/list", data, {
|
||
|
noAuth: true // TODO 芋艿:后续要做调整
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// 获得文章分页
|
||
|
export function getArticlePage(data) {
|
||
|
return request.get("app-api/promotion/article/page", data, {
|
||
|
noAuth: true // TODO 芋艿:后续要做调整
|
||
|
});
|
||
|
}
|