Browse Source

test insert

chengwl 4 years ago
parent
commit
322ff8ba4b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/IndexController.php

+ 1 - 0
controllers/IndexController.php

@@ -147,6 +147,7 @@ class IndexController extends Controller
           if($i%$limit==0||$i==count($contentpages)){
             \Yii::$app->db->createCommand()->batchInsert(ContentPage::tableName(), $modelKey, $list)->execute();
             $list=[];
+            echo 111111;exit;
           }
           $i++;
         }