![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ElasticSearch
m0_58699900
这个作者很懒,什么都没留下…
展开
-
TP5 ElasticSearch 封装分页类 并 实现搜索
1、封装工具类extend/tools/es/EsPage.php原创 2021-06-09 19:10:25 · 235 阅读 · 0 评论 -
TP5 ElasticSearch 封装分页类 并 实现搜索后分页
1、在第三方扩展类库中封装EsPage.php类文件2、声明命名空间namespace tools\es;use think\Config;3、封装EsPage类public static function paginate($results, $listRows = null, $simple = false, $config = []) { if (is_int($simple)) { $total = $simple;原创 2021-06-09 18:55:46 · 330 阅读 · 2 评论