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', ], ];