Просмотр исходного кода

该优惠券不满足使用条件

whitefang 1 год назад
Родитель
Сommit
ad1f03e973
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/api/logic/ServiceOrderLogic.php

+ 1 - 1
app/api/logic/ServiceOrderLogic.php

@@ -269,7 +269,7 @@ class ServiceOrderLogic extends BaseLogic
                     ->where('begin_use','<',time())
                     ->findOrEmpty();
                 if($user_coupon->isEmpty()){
-                    throw new Exception('该优惠券无法使用');
+                    throw new Exception('该优惠券不满足使用条件');
                 }
                 if($goods['goods_payment_type'] == GoodsEnum::ISGOODS_PAYMENT_TYPE and $order['order_amount']<$user_coupon['amount_require']){
                     throw new Exception('该优惠劵不满足满减使用条件');