正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -23,6 +23,7 @@ class UserController extends BaseController | @@ -23,6 +23,7 @@ class UserController extends BaseController | ||
| 23 | public function lists(UserModel $userModel){ | 23 | public function lists(UserModel $userModel){ |
| 24 | //TODO::搜索参数统一处理 | 24 | //TODO::搜索参数统一处理 |
| 25 | $this->map['project_id'] = $this->user['project_id']; | 25 | $this->map['project_id'] = $this->user['project_id']; |
| 26 | + $this->map['role'] = ['!=',0]; | ||
| 26 | $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']); |
| 27 | $this->response('success',Code::SUCCESS,$lists); | 28 | $this->response('success',Code::SUCCESS,$lists); |
| 28 | } | 29 | } |
-
请 注册 或 登录 后发表评论