feat: 作家后台-小说章节删除

This commit is contained in:
xiongxiaoyang
2023-04-25 17:44:32 +08:00
parent e14541134a
commit 2dd106c41e
2 changed files with 19 additions and 7 deletions

View File

@@ -22,4 +22,8 @@ export function listChapters(bookId, params) {
export function publishChapter(bookId,params) {
return request.post(`/author/book/chapter/${bookId}`, params);
}
export function deleteChapter(id) {
return request.delete(`/author/book/chapter/${id}`);
}