作者 lyh

gx

@@ -25,9 +25,6 @@ class UserController extends BaseController @@ -25,9 +25,6 @@ class UserController extends BaseController
25 //TODO::搜索参数统一处理 25 //TODO::搜索参数统一处理
26 $this->map['project_id'] = $this->user['project_id']; 26 $this->map['project_id'] = $this->user['project_id'];
27 $lists = $userModel->lists($this->map,$this->page,$this->row,$this->order,['id','name','mobile','created_at','wechat','status']); 27 $lists = $userModel->lists($this->map,$this->page,$this->row,$this->order,['id','name','mobile','created_at','wechat','status']);
28 - if(empty($lists)){  
29 - $this->response('error',Code::USER_ERROR,[]);  
30 - }  
31 $this->response('success',Code::SUCCESS,$lists); 28 $this->response('success',Code::SUCCESS,$lists);
32 } 29 }
33 30