From b3328d666c9d4877351bf8e003bd030c2c51ba33 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 26 Apr 2023 14:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F=E5=90=8D?= =?UTF-8?q?=E7=89=87oss=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/UserDoctorService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/UserDoctorService.php b/app/Services/UserDoctorService.php index 3f824c9..47681c9 100644 --- a/app/Services/UserDoctorService.php +++ b/app/Services/UserDoctorService.php @@ -1542,7 +1542,7 @@ class UserDoctorService extends BaseService $result['avatar'] = addAliyunOssWebsite($user_doctor['avatar']); $result['department_custom_name'] = $user_doctor['department_custom_name']; $result['hospital_name'] = $hospital['hospital_name']; - $result['qr_code_url'] = addAliyunOssWebsite($user_doctor['qr_code'] ?? $qr_code); + $result['qr_code_url'] = addAliyunOssWebsite($user_doctor['qr_code'] ?: $qr_code); return success($result); }