|
@@ -67,6 +67,7 @@ class ServiceOrderLogic extends BaseLogic
|
|
|
->where('expire_time','>=',time())
|
|
->where('expire_time','>=',time())
|
|
|
->where('begin_use','<',time())
|
|
->where('begin_use','<',time())
|
|
|
->findOrEmpty();
|
|
->findOrEmpty();
|
|
|
|
|
+ dd($user_coupon,$params);
|
|
|
if(empty($user_coupon)){
|
|
if(empty($user_coupon)){
|
|
|
throw new Exception('该优惠券无法使用');
|
|
throw new Exception('该优惠券无法使用');
|
|
|
}
|
|
}
|