|
|
|
@ -444,7 +444,7 @@ class CouponRecService implements CouponRecServiceInterface |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
$couponReceiveExists = CouponRec::query()->where(['id'=>$cp->id,'user_id'=>$userId])->exists(); |
|
|
|
$couponReceiveExists = CouponRec::query()->where(['coupon_id'=>$cp->id,'user_id'=>$userId])->exists(); |
|
|
|
|
|
|
|
if($couponReceiveExists){ |
|
|
|
continue; |
|
|
|
|