From 2141d22dda2971d015fa7b4e2ed95bf2ebd669a7 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Fri, 25 Jul 2025 16:14:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=9F=E8=BF=9B=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/crm/service/CustomerService.php | 2 +- app/crm/service/FollowService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/crm/service/CustomerService.php b/app/crm/service/CustomerService.php index 4c66414..022a3dc 100644 --- a/app/crm/service/CustomerService.php +++ b/app/crm/service/CustomerService.php @@ -66,7 +66,7 @@ class CustomerService //查询有$tagId 里所有标签的客户 foreach ($tagId as $id) { $query->whereHas('tags', function($query) use ($id){ - $query->where('tag.id', $id); + $query->where('tag_id', $id); }); } } diff --git a/app/crm/service/FollowService.php b/app/crm/service/FollowService.php index 0d3fd8e..e8ce0f7 100644 --- a/app/crm/service/FollowService.php +++ b/app/crm/service/FollowService.php @@ -23,7 +23,7 @@ class FollowService $where = []; $where['customer_id'] = $customer_id; - $where['corp_abbr'] = $corp_abbr; +// $where['corp_abbr'] = $corp_abbr; //用户角色