后台文件修改,修复搜索时分页链接会没有参数的情况

This commit is contained in:
2018-04-01 15:45:10 +08:00
parent fd6bbb7451
commit b97da3e1ac
17 changed files with 112 additions and 43 deletions

View File

@@ -19,7 +19,9 @@ class Client extends Admin {
public function index(){
$list = $this->model->paginate(25);
$list = $this->model->paginate(25, false, array(
'query' => $this->request->param()
));
$data = array(
'list' => $list,
'page' => $list->render()