...
|
...
|
@@ -33,7 +33,9 @@ class AdminUsersController extends AdminBaseController{ |
|
|
$where['mobile']=['like','%'.$param['keyword'].'%'];
|
|
|
}
|
|
|
$users=new UsersModel();
|
|
|
$data=$users->where('')->order('create_time','desc')->paginate(10);
|
|
|
$data=$users->where($where)->order('create_time','desc')->paginate(10);
|
|
|
$data->appends($param);
|
|
|
$this->assign('keyword', isset($param['keyword']) ? $param['keyword'] : '');
|
|
|
$this->assign('data',$data);
|
|
|
return $this->fetch();
|
|
|
}
|
...
|
...
|
|