更新:图书搜索功能;听书实时显示对应文字;书籍评论功能完善;
This commit is contained in:
@@ -200,5 +200,17 @@ export const bookApi = {
|
||||
method: 'POST',
|
||||
data: { bookId }
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 获取听书章节内容(带音频时间点)
|
||||
* @param chapterId 章节ID
|
||||
*/
|
||||
getChapterContentListen(chapterId: number) {
|
||||
return client.request<IApiResponse<{ bookChapterContents: any[] }>>({
|
||||
url: 'bookAbroad/home/getBookChapterContentListen',
|
||||
method: 'POST',
|
||||
data: { chapterId }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user