浏览代码

test insert

chengwl 4 年之前
父节点
当前提交
322ff8ba4b
共有 1 个文件被更改,包括 1 次插入0 次删除
  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++;
         }