From d2c7c7d74dad3d87e0452e036f51eacb8ecc5616 Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Wed, 8 Jan 2025 10:15:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=AE=E4=BF=A1=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/pay/WeChatPay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/service/pay/WeChatPay.php b/app/common/service/pay/WeChatPay.php index a95986a5e..3398e01b3 100644 --- a/app/common/service/pay/WeChatPay.php +++ b/app/common/service/pay/WeChatPay.php @@ -22,7 +22,7 @@ class WeChatPay extends PayTool 'out_refund_no' => 'BO' . time(), 'amount' => [ 'refund' => $totalFee, - 'total' => $order['pay_price'], + 'total' => (int)bcmul($order['pay_price'], 100), 'currency' => 'CNY', ], ];