调整平台购物卡使用范围

This commit is contained in:
luofei 2024-02-22 17:48:04 +08:00
parent 199bc98697
commit 5032e5cbfa

View File

@ -650,7 +650,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
$consumptionTotal = 0;
$consumptionUsed = 0;
$groupOrderPayPrice = 0;
if ($consumption_id > 0 && $this->store_consumption_user && $source == 103) {
if ($consumption_id > 0 && $this->store_consumption_user) {
$consumptionTotal = min($order_total_price, $this->balance);
}
foreach ($merchantCartList as $k => &$merchantCart) {