客户列表过滤
This commit is contained in:
@@ -26,15 +26,13 @@ class CustomerService
|
|||||||
$tagId = $params['tag_id'] ?? [];
|
$tagId = $params['tag_id'] ?? [];
|
||||||
$where = [];
|
$where = [];
|
||||||
$user_id =$params['user_id'];
|
$user_id =$params['user_id'];
|
||||||
if(empty($user_id) || $user_id == 0){
|
|
||||||
$where[] = ['user_id', '=', $user_id];
|
|
||||||
}
|
|
||||||
|
|
||||||
$seas = $params['seas'] ?? '';
|
$seas = $params['seas'] ?? '';
|
||||||
if($seas == 'seas'){
|
if($seas == 'seas'){
|
||||||
$where[] = ['user_id', 0];
|
$where[] = ['user_id', 0];
|
||||||
}
|
// }elseif($recycle == 'recycle'){
|
||||||
if($recycle == 'recycle'){
|
// $where[] = ['user_id', $user_id];
|
||||||
|
}else{
|
||||||
$where[] = ['user_id', $user_id];
|
$where[] = ['user_id', $user_id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user