Sfoglia il codice sorgente

优惠券绑定商品

whitefang 1 anno fa
parent
commit
adace98b64
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      app/adminapi/logic/coupon/CouponRulesLogic.php

+ 0 - 4
app/adminapi/logic/coupon/CouponRulesLogic.php

@@ -131,10 +131,6 @@ class CouponRulesLogic extends BaseLogic
             if(!empty($params['goods_id'])){
                 $goodsArr = [];
                 foreach($params['goods_id'] as $v){
-                    if(!is_array($v)){
-                        $goodsArr[] = $v;
-                        continue;
-                    }
                     $goodsArr[] = $v;
                 }
                 $model = CouponRules::find($params['id']);