|
|
@ -290,7 +290,7 @@ class StoreCouponRepository extends BaseRepository |
|
|
|
throw new ValidateException('优惠券失效'); |
|
|
|
throw new ValidateException('优惠券失效'); |
|
|
|
|
|
|
|
|
|
|
|
if (!is_null($coupon['issue'])) |
|
|
|
if (!is_null($coupon['issue'])) |
|
|
|
throw new ValidateException('优惠券已领取'); |
|
|
|
throw new ValidateException('该手机号已领取无法重复领取'); |
|
|
|
$this->sendCoupon($coupon, $uid,StoreCouponUserRepository::SEND_TYPE_RECEIVE); |
|
|
|
$this->sendCoupon($coupon, $uid,StoreCouponUserRepository::SEND_TYPE_RECEIVE); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|