mp:初步实现【草稿】的前端新增

This commit is contained in:
YunaiV
2023-01-14 00:17:35 +08:00
parent bc870434c2
commit 4080d2de9b
2 changed files with 105 additions and 76 deletions

View File

@ -8,3 +8,14 @@ export function getDraftPage(query) {
params: query
})
}
// 创建草稿
export function createDraft(accountId, articles) {
return request({
url: '/mp/draft/create?accountId=' + accountId,
method: 'post',
data: {
articles
}
})
}