diff --git a/app/crmAdmin/service/CustomerService.php b/app/crmAdmin/service/CustomerService.php index 7b74e16..1bb22f4 100644 --- a/app/crmAdmin/service/CustomerService.php +++ b/app/crmAdmin/service/CustomerService.php @@ -440,7 +440,7 @@ class CustomerService $ossservice = new OssService(); foreach ($follow as $item) { - $item['picture_full'] = $item->picture??$ossservice->generatePrivateUrl($item->picture); + $item['picture_full'] = empty($item->picture)?'':$ossservice->generatePrivateUrl($item->picture); } return $follow;