es采集优化

This commit is contained in:
xxy
2020-05-25 23:38:46 +08:00
parent 9b9851e7ab
commit 8f1ed88b07
2 changed files with 9 additions and 2 deletions

View File

@ -16,5 +16,12 @@ public interface SearchService {
*/
void importToEs(Book book);
/**
* 搜索
* @param params 搜索参数
* @param page 当前页码
* @param pageSize 每页大小
* @return 分页信息
*/
PageInfo searchBook(BookSP params, int page, int pageSize);
}