21,886
社区成员
发帖
与我相关
我的任务
分享
$list = Bootstrap::make($list2['data'], $list2['per_page'], $page, count($total), false, ['path' => Bootstrap::getCurrentPath()]);
$list->render();
/**
* @param $items //当前页数据
* @param $listRows //每页条数
* @param null $currentPage //当前页
* @param bool $simple
* @param null $total //总数
* @param array $options
* @return PaginatorCollection
*/
public static function make($items, $listRows, $currentPage = null, $total = null, $simple = false, $options = [])