tp5自定义分页参数

代码示例:

$data = db('activity') -> where($condition1)-> order('startline desc') -> paginate(2,$total,[
			'page' => input('param.page'),
			'path'=>__ACTION__.'/channel/'.$channel.'/page/[PAGE].html',
		]);

来源:https://blog.csdn.net/lingchen__/article/details/70208219

原文地址:https://www.cnblogs.com/fan-bk/p/10046096.html