正在显示
1 个修改的文件
包含
0 行增加
和
3 行删除
| @@ -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 |
-
请 注册 或 登录 后发表评论