调整红包使用逻辑
This commit is contained in:
parent
9178f88a93
commit
e00c5e1a39
@ -627,7 +627,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
||||
// 计算红包总金额
|
||||
$consumptionTotal = 0;
|
||||
if ($consumption_id > 0 && $this->store_consumption_user && $source == 103) {
|
||||
if ($this->store_consumption_user['type'] == 2 && $order_total_price >= 6 && ) {
|
||||
if ($this->store_consumption_user['type'] == 2 && $order_total_price >= 6) {
|
||||
if ($this->payType != 'balance') {
|
||||
throw new \Exception('余额支付时,不能使用抵扣红包');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user