From cb54b4e3c170658c1b57a6e8701b16bc7baee3d5 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Wed, 8 May 2024 08:34:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=88=91=E7=9A=84=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E6=9C=88=E8=B4=A6=E5=8D=95=E6=98=8E=E7=BB=86=E6=95=B0?= =?UTF-8?q?=E6=8D=AE3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAccountService.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index 313e2bb..e40fe8d 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -220,12 +220,20 @@ class DoctorAccountService extends BaseService // 处理入账金额 if ($result['order_type'] == 5){ $result['estimate_income'] = bcmul( - (string)$order_service_package_detail['single_inquiry_price'], - (string)$order_service_package_detail['service_count'], + bcmul( + (string)$order_service_package_detail['single_inquiry_price'], + (string)$order_service_package_detail['service_count'], + 2 + ), + 0.75, 2 ); }else{ - $result['estimate_income'] = (string)$order_service_package_detail['service_price']; + $result['estimate_income'] = bcmul( + (string)$order_service_package_detail['service_price'], + 0.75, + 2 + ); } }