feat: 修改了支付逻辑以支持浮点数金额

This commit is contained in:
mkm 2024-09-21 21:45:16 +08:00
parent 7da6421aae
commit 1b876d13dc

View File

@ -90,7 +90,7 @@ class PaymentLogic extends BaseLogic
'auth_code' => (string)$auth_code
],
'amount' => [
'total' => intval($order['pay_price'] * 100),
'total' => intval(bcmul($order['pay_price'],100)),
],
'scene_info' => [
"store_info" => [