作者 lyh

gx脚本更新路由

@@ -82,7 +82,7 @@ class UpdateBuildConfiguration extends Command @@ -82,7 +82,7 @@ class UpdateBuildConfiguration extends Command
82 $productModel = new Product(); 82 $productModel = new Product();
83 $page = 1; 83 $page = 1;
84 while (true){ 84 while (true){
85 - $lists = $productModel->lists([],$page,$page*5,['id','describe']); 85 + $lists = $productModel->lists([],$page,5,['id','describe']);
86 $detailModel = new Detail(); 86 $detailModel = new Detail();
87 if(!empty($lists['list'])){ 87 if(!empty($lists['list'])){
88 foreach ($lists['list'] as $k => $v){ 88 foreach ($lists['list'] as $k => $v){