@@ -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";