mirror of
				https://gitee.com/technical-laohu/mpay.git
				synced 2025-11-04 08:43:42 +08:00 
			
		
		
		
	修改金额核对值对象,防止漏单
This commit is contained in:
		@@ -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']);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user