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