From 2aa253fa5d375dfdf85d59a2c926100a8878a232 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 9 Nov 2023 18:02:46 +0800 Subject: [PATCH] 4 --- app/Services/UserPatientService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/UserPatientService.php b/app/Services/UserPatientService.php index 8fb9e27..69b6e95 100644 --- a/app/Services/UserPatientService.php +++ b/app/Services/UserPatientService.php @@ -70,7 +70,7 @@ class UserPatientService extends BaseService $result['patient_id'] = $user_patient['patient_id']; $result['avatar'] = $user_patient['avatar']; $result['user_name'] = $user_patient['user_name']; - $result['coupon'] = empty($coupon); + $result['coupon'] = !empty($coupon); $result['order_inquiry_count'] = $order_inquiry_count; $result['order_prescription_count'] = $order_prescription_count; $result['order_product_count'] = $order_product_count;