mirror of
https://gitee.com/novel_dev_team/novel-front-web
synced 2026-07-20 17:54:10 +08:00
feat(bookContent): 新增上/下章查询
This commit is contained in:
@@ -8,7 +8,6 @@ export function addVisitCount(params) {
|
||||
return request.post('/book/visit', params);
|
||||
}
|
||||
|
||||
|
||||
export function getLastChapterAbout(params) {
|
||||
return request.get('/book/lastChapterAbout', { params });
|
||||
}
|
||||
@@ -21,6 +20,14 @@ export function getBookContent(chapterId) {
|
||||
return request.get(`/book/content/${chapterId}`);
|
||||
}
|
||||
|
||||
export function getPreChapterId(chapterId) {
|
||||
return request.get(`/book/preChapterId/${chapterId}`);
|
||||
}
|
||||
|
||||
export function getNextChapterId(chapterId) {
|
||||
return request.get(`/book/nextChapterId/${chapterId}`);
|
||||
}
|
||||
|
||||
export function listVisitRankBooks() {
|
||||
return request.get('/book/visitRank');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user