正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -56,10 +56,10 @@ class UserLogController extends BaseController | @@ -56,10 +56,10 @@ class UserLogController extends BaseController | ||
| 56 | $managerModel = new Manage(); | 56 | $managerModel = new Manage(); |
| 57 | if(isset($this->map['mobile']) && !empty($this->map['mobile'])){ | 57 | if(isset($this->map['mobile']) && !empty($this->map['mobile'])){ |
| 58 | $ids = $managerModel->where('mobile', 'like', '%' . $this->map['mobile'] . '%')->pluck('id')->toArray(); | 58 | $ids = $managerModel->where('mobile', 'like', '%' . $this->map['mobile'] . '%')->pluck('id')->toArray(); |
| 59 | - $map['manage_id'] = ['in',$ids]; | 59 | + $map['user_id'] = ['in',$ids]; |
| 60 | }elseif (isset($this->map['name']) && !empty($this->map['name'])){ | 60 | }elseif (isset($this->map['name']) && !empty($this->map['name'])){ |
| 61 | $ids = $managerModel->where('name', 'like', '%' . $this->param['name'] . '%')->pluck('id')->toArray(); | 61 | $ids = $managerModel->where('name', 'like', '%' . $this->param['name'] . '%')->pluck('id')->toArray(); |
| 62 | - $map['manage_id'] = ['in',$ids]; | 62 | + $map['user_id'] = ['in',$ids]; |
| 63 | } | 63 | } |
| 64 | if(isset($this->map['created_at'])){ | 64 | if(isset($this->map['created_at'])){ |
| 65 | $map['created_at'] = $this->map['created_at']; | 65 | $map['created_at'] = $this->map['created_at']; |
-
请 注册 或 登录 后发表评论