From 879a9ee4aa3a5d3d7c3944d7c4534d7bb109d504 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Thu, 14 Aug 2025 09:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=9B=BD=E5=AE=B6=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/crm/service/CustomerService.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/crm/service/CustomerService.php b/app/crm/service/CustomerService.php index c41aace..2862088 100644 --- a/app/crm/service/CustomerService.php +++ b/app/crm/service/CustomerService.php @@ -36,6 +36,7 @@ class CustomerService $follow = $params['follow'] ?? ''; $follow_last = $params['follow_last'] ?? ''; $tagId = $params['tag_id'] ?? []; + $countryId = $params['country_id'] ?? ''; $where = []; $user_id =$params['user_id']; @@ -49,6 +50,9 @@ class CustomerService } $where[] = ['status', 1]; + if (!empty($countryId)){ + $where[] = ['country_id', $countryId]; + } $grade = []; if (!Util::isEmpty($follow) && $follow == 0) {