wupengfei 2 rokov pred
rodič
commit
08c4ab72dd
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      application/api/controller/Present.php

+ 3 - 3
application/api/controller/Present.php

@@ -31,11 +31,11 @@ class Present extends Base
         $send_num = 0;
         $error_ids =[];
         var_dump(count($list));
-        die();
+        //die();
         foreach ($list as $v) {
-          /* $res = static::examples($send_user['id'],$v['id'],$receipt_phone);
+           $res = static::examples($send_user['id'],$v['id'],$receipt_phone);
            if ($res['status'] == 1) $send_num++;
-           if ($res['status'] == 0) $error_ids[] = $v['id'];*/
+           if ($res['status'] == 0) $error_ids[] = $v['id'];
         }
         var_dump($send_num,$error_ids);
     }