调整抵扣红包使用限制

This commit is contained in:
luofei 2024-02-23 16:41:49 +08:00
parent 2bcee04f20
commit b8014f70dd

View File

@ -643,10 +643,6 @@ class StoreOrderCreateRepository extends StoreOrderRepository
$allow_no_address = false;
}
if (isset($this->store_consumption_user['type']) && $this->store_consumption_user['type'] == 2 && $order_total_price >= 6 && $this->payType == 'balance') {
throw new ValidateException('余额支付时,不能使用抵扣红包');
}
$consumptionTotal = 0;
$consumptionUsed = 0;
$groupOrderPayPrice = 0;