Browse Source

test insert

chengwl 4 năm trước cách đây
mục cha
commit
322ff8ba4b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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++;
         }