diff --git a/app/Services/UserPatientService.php b/app/Services/UserPatientService.php index c0d9c5c..3064ae9 100644 --- a/app/Services/UserPatientService.php +++ b/app/Services/UserPatientService.php @@ -46,6 +46,7 @@ class UserPatientService extends BaseService // 获取福利数据 $coupon = UserCoupon::getUserObjectTypeCoupon($user_patient['user_id'],2); + $coupon = $coupon->toArray(); // 获取问诊数量-待支付 $InquiryService = new InquiryService();