方式一
$t = Db::name("table")->where("XXXX")->paginate(10,false,['query'=>request()->param()]); $this->assign('page', $t->render());
方式二
$t = Db::name("table")->where("XXXX")->paginate(10); $t->appends(request()->param()); $this->assign('page', $t->render());