调整抵扣红包使用比例
This commit is contained in:
parent
6c90de3771
commit
9d19ea5a1a
@ -622,7 +622,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
||||
$allow_no_address = false;
|
||||
}
|
||||
|
||||
if ($this->store_consumption_user['type'] == 2 && $order_total_price >= 6 && $this->payType == 'balance') {
|
||||
if (isset($this->store_consumption_user['type']) && $this->store_consumption_user['type'] == 2 && $order_total_price >= 6 && $this->payType == 'balance') {
|
||||
throw new ValidateException('余额支付时,不能使用抵扣红包');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user