feat: 作家后台-小说章节更新

This commit is contained in:
xiongxiaoyang
2023-04-25 19:20:53 +08:00
parent 2dd106c41e
commit 5b9298aaad
4 changed files with 820 additions and 22 deletions

View File

@@ -26,4 +26,12 @@ export function publishChapter(bookId,params) {
export function deleteChapter(id) {
return request.delete(`/author/book/chapter/${id}`);
}
export function getChapter(id) {
return request.get(`/author/book/chapter/${id}`);
}
export function updateChapter(id,params) {
return request.put(`/author/book/chapter/${id}`,params);
}