mirror of
https://github.com/201206030/novel-front-web.git
synced 2025-04-26 23:40:51 +00:00
refactor(book.js): 重构小说搜索接口
This commit is contained in:
parent
5572006bfa
commit
70d5a5cd85
@ -5,7 +5,7 @@ export function listCategorys(params) {
|
||||
}
|
||||
|
||||
export function searchBooks(params) {
|
||||
return request.get('/book/search_list', { params });
|
||||
return request.get('/search/books', { params });
|
||||
}
|
||||
|
||||
export function getBookById(bookId) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user