客户国家筛选
This commit is contained in:
@@ -36,6 +36,7 @@ class CustomerService
|
|||||||
$follow = $params['follow'] ?? '';
|
$follow = $params['follow'] ?? '';
|
||||||
$follow_last = $params['follow_last'] ?? '';
|
$follow_last = $params['follow_last'] ?? '';
|
||||||
$tagId = $params['tag_id'] ?? [];
|
$tagId = $params['tag_id'] ?? [];
|
||||||
|
$countryId = $params['country_id'] ?? '';
|
||||||
$where = [];
|
$where = [];
|
||||||
$user_id =$params['user_id'];
|
$user_id =$params['user_id'];
|
||||||
|
|
||||||
@@ -49,6 +50,9 @@ class CustomerService
|
|||||||
}
|
}
|
||||||
$where[] = ['status', 1];
|
$where[] = ['status', 1];
|
||||||
|
|
||||||
|
if (!empty($countryId)){
|
||||||
|
$where[] = ['country_id', $countryId];
|
||||||
|
}
|
||||||
|
|
||||||
$grade = [];
|
$grade = [];
|
||||||
if (!Util::isEmpty($follow) && $follow == 0) {
|
if (!Util::isEmpty($follow) && $follow == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user