$list = db($tableName) -> field($field) -> where($where) -> order($order) -> paginate($pagenum,false,[ 'query' => Request::instance()->param(),//不丢失已存在的url参数 ]) ;
$list = db($tableName) -> field($field) -> where($where) -> order($order) -> paginate($pagenum,false,[ 'query' => Request::instance()->param(),//不丢失已存在的url参数 ]) ;
转载于:https://www.cnblogs.com/ailingfei/p/9651226.html