feat:对通导入文章接口

This commit is contained in:
Xwen
2024-01-03 23:32:32 +08:00
parent 9070585701
commit b199b24b23
3 changed files with 117 additions and 9 deletions

View File

@@ -38,3 +38,16 @@ export function all(discussId) {
method: "get",
});
}
/**
* 导入文章
*/
export function importArticle(params, data) {
return request({
url: `/article/import`,
headers: { "Content-Type": "multipart/form-data" },
params: params,
data,
method: "post",
});
}