优化代码

main
fengxinyhyl 5 months ago
parent 6c9d61fac7
commit 11340059c6
  1. 2
      app/common/repositories/store/coupon/StoreCouponRepository.php

@ -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);
} }

Loading…
Cancel
Save