Bootstrap

thinkphp分页带参数(带查询条件)

 $list = db('user') -> where($where)->paginate(20,false,[
            'query'=>request()->param()
        ]);

 

;