...
|
...
|
@@ -30,7 +30,7 @@ class AdminUsersController extends AdminBaseController{ |
|
|
$param=$this->request->param();
|
|
|
$where=[];
|
|
|
if (!empty($param['keyword'])){
|
|
|
$where['mobile']=['like','%'.$param['keyword'].'%'];
|
|
|
$where['phone']=['like','%'.$param['keyword'].'%'];
|
|
|
}
|
|
|
$users=new UsersModel();
|
|
|
$data=$users->where($where)->order('create_time','desc')->paginate(10);
|
...
|
...
|
|