wupengfei %!s(int64=2) %!d(string=hai) anos
pai
achega
422430b1a5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);