feat: 增加小说发布功能

This commit is contained in:
xiongxiaoyang
2022-05-29 18:03:57 +08:00
parent e697c9e82f
commit 7f34045a82
4 changed files with 851 additions and 13 deletions

View File

@@ -10,4 +10,8 @@ export function register(params) {
export function listBooks() {
return request.get('/author/books');
}
export function publishBook(params) {
return request.post('/author/book', params);
}