feat: 增加全部作品页 & 小说搜索

This commit is contained in:
xiongxiaoyang
2022-05-16 13:08:19 +08:00
parent 3681261de8
commit f2dad69e97
7 changed files with 324 additions and 28 deletions

View File

@@ -1,5 +1,9 @@
import request from '../utils/request'
export function searchBooks(params) {
return request.get('/book/search', { params });
}
export function getBookById(bookId) {
return request.get(`/book/${bookId}`);
}