feat: 新增小说最新章节组件

This commit is contained in:
xiongxiaoyang
2022-05-15 18:05:18 +08:00
parent df89986d77
commit 260c6827c0
4 changed files with 82 additions and 40 deletions

View File

@@ -4,6 +4,10 @@ export function getBookById(bookId) {
return request.get(`/book/${bookId}`);
}
export function getLastChapterAbout(params) {
return request.get('/book/lastChapterAbout', { params });
}
export function getBookContent(chapterId) {
return request.get(`/book/content/${chapterId}`);
}