修改:如果订单存在豆豆积分抵扣金额 则商户结算时添加豆豆积分结算金额
This commit is contained in:
parent
02cd35c95f
commit
4380f5f4db
|
|
@ -292,6 +292,11 @@ class StoreOrderRepository extends BaseRepository
|
||||||
$_payPrice = bcadd($_payPrice, $order->orderProduct[0]['cart_info']['presell_extension_two'], 2);
|
$_payPrice = bcadd($_payPrice, $order->orderProduct[0]['cart_info']['presell_extension_two'], 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 如果存在豆豆积分抵扣 则商户结算金额需要添加商户豆豆抵扣金额
|
||||||
|
if((float)$order->use_legumes_integral_price > 0){
|
||||||
|
$_payPrice = bcadd($_payPrice, (float)$order->use_legumes_integral_price, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$_order_rate = 0;
|
$_order_rate = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue