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;