mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-09-17 17:26:40 +08:00
修改金额核对值对象,防止漏单
This commit is contained in:
parent
2c1ece3eb2
commit
e65c0e9173
@ -161,7 +161,7 @@ class PayController
|
||||
// 支付渠道核对
|
||||
$is_channel = $cids[$order->cid] == $new_order['channel'];
|
||||
// 金额核对
|
||||
$is_money = $order->money == $new_order['price'];
|
||||
$is_money = $order->really_price == $new_order['price'];
|
||||
// 订单核对
|
||||
if ($is_payway && $is_channel && $is_money) {
|
||||
$res = $this->updateOrderState($order, $new_order['order_no']);
|
||||
|
Loading…
Reference in New Issue
Block a user