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

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

@@ -48,7 +48,7 @@ class UserCouponLogic extends BaseLogic
                         continue;
                     }
                 }else{
-                    if($userCoupon->where('coupon_id',$v->id)->count()){
+                    if($userCoupon->where('coupon_id',$v->id)->where('property_activity_id',0)->count()){
                         $errMsgArr[] = $v->event_name . '已经领取过了,请勿重复领取';
                         continue;
                     }