Browse Source

coupon code

Charlie 8 years ago
parent
commit
c9767b71da
1 changed files with 0 additions and 1 deletions
  1. 0 1
      www/protected/commands/ImportCouponCommand.php

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

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