wupengfei 2 年之前
父節點
當前提交
422430b1a5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/api/controller/Coupon.php

+ 1 - 0
application/api/controller/Coupon.php

@@ -145,6 +145,7 @@ class Coupon extends Base
         $exchange_num = 0;
         foreach ($coupon_list  as $v) {
             $has_num = UserCouponList::getUserCouponNum($this->user_id,$v['id']);
+            var_dump($v['code'] ,$code);continue;
             if($has_num >= $v['user_num'] && $v['code'] !== $code) continue;
             $exchange_num++;
             UserCouponList::saveUserCoupon($v,$this->user_id);