摘要:use Illuminate\Pagination\LengthAwarePaginator; public function index(Request $request){ $list =[...]; //当前页数 默认1 $page = $request->page ?: 1; //每页的条数 $perPage = 10; //计算每页分页... 阅读全文
posted @ 2019-09-10 14:22 郁冬 阅读 (47) 评论 (0) 编辑