diff --git a/app/crm/service/CustomerService.php b/app/crm/service/CustomerService.php index 01d8115..c20ceab 100644 --- a/app/crm/service/CustomerService.php +++ b/app/crm/service/CustomerService.php @@ -358,7 +358,10 @@ class CustomerService * 查询客户关系是否重复 */ public function distinct($params,$corpId){ - + // 9.1 add 报重修正 + if (!$params['email'] && !$params['phone'] && !$params['whatsApp']) { + return false; + } $customer = Customer::where('corp_id',$corpId) ->where((function (Builder $query) use ($params) { if(!empty($params['email']))