소스 검색

券限制

liugc 1 년 전
부모
커밋
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;
                     }