Charlie 8 жил өмнө
parent
commit
c9767b71da

+ 0 - 1
www/protected/commands/ImportCouponCommand.php

@@ -40,7 +40,6 @@ class ImportCouponCommand extends CConsoleCommand{
             }
             }
             $model->stop_time = 1483199999;
             $model->stop_time = 1483199999;
             $model->save();
             $model->save();
-            $i++;
             file_put_contents(APP_PATH.'/download/'.time().'_coupon_code.html',$model->code."\r\n",FILE_APPEND);
             file_put_contents(APP_PATH.'/download/'.time().'_coupon_code.html',$model->code."\r\n",FILE_APPEND);
             echo $i."\n";
             echo $i."\n";
         }
         }