From 6761c5876bda4ad258488be29c6856f8abc0852f Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Fri, 3 Nov 2023 16:04:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=8C=BB=E7=94=9F=E8=B4=A6=E6=88=B7=E4=BD=99=E9=A2=9D=20?= =?UTF-8?q?=E9=87=91=E9=A2=9D=E8=AE=A1=E7=AE=97=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?6.14+0.01=3D6.1499999=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAccountService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index c792d65..ecd82c4 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -387,7 +387,7 @@ class DoctorAccountService extends BaseService } // 计算订单总金额 - $amount_total += $order_inquiry['amount_total']; + $amount_total = bcadd($amount_total,$order_inquiry["amount_total"],2); } // 提现金额