diff --git a/app/common/repositories/store/order/StoreOrderCreateRepository.php b/app/common/repositories/store/order/StoreOrderCreateRepository.php index d1457c66..7d3f116b 100644 --- a/app/common/repositories/store/order/StoreOrderCreateRepository.php +++ b/app/common/repositories/store/order/StoreOrderCreateRepository.php @@ -629,7 +629,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository if ($consumption_id > 0 && $this->store_consumption_user && $source == 103) { if ($this->store_consumption_user['type'] == 2 && $order_total_price >= 6) { if ($this->payType != 'balance') { - throw new \Exception('余额支付时,不能使用抵扣红包'); + throw new ValidateException('余额支付时,不能使用抵扣红包'); } $consumptionTotal = bcdiv($order_total_price, 6, 2); }