|
@@ -49,10 +49,10 @@ class ManagerLogController extends BaseController |
|
@@ -49,10 +49,10 @@ class ManagerLogController extends BaseController |
|
49
|
public function searchParam(){
|
49
|
public function searchParam(){
|
|
50
|
$map = [];
|
50
|
$map = [];
|
|
51
|
$managerModel = new Manage();
|
51
|
$managerModel = new Manage();
|
|
52
|
- if(isset($this->param['mobile']) && !empty($this->param['mobile'])){
|
52
|
+ if(isset($this->map['mobile']) && !empty($this->map['mobile'])){
|
|
53
|
$ids = $managerModel->where('mobile', 'like', '%' . $this->map['mobile'] . '%')->pluck('id')->toArray();
|
53
|
$ids = $managerModel->where('mobile', 'like', '%' . $this->map['mobile'] . '%')->pluck('id')->toArray();
|
|
54
|
$map['manage_id'] = ['in',$ids];
|
54
|
$map['manage_id'] = ['in',$ids];
|
|
55
|
- }elseif (isset($this->param['name']) && !empty($this->param['name'])){
|
55
|
+ }elseif (isset($this->map['name']) && !empty($this->map['name'])){
|
|
56
|
$ids = $managerModel->where('name', 'like', '%' . $this->map['name'] . '%')->pluck('id')->toArray();
|
56
|
$ids = $managerModel->where('name', 'like', '%' . $this->map['name'] . '%')->pluck('id')->toArray();
|
|
57
|
$map['manage_id'] = ['in',$ids];
|
57
|
$map['manage_id'] = ['in',$ids];
|
|
58
|
}
|
58
|
}
|