feat: 修改了支付逻辑以支持浮点数金额
This commit is contained in:
parent
7da6421aae
commit
1b876d13dc
@ -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" => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user