作者 lyh

gx统计页面数量

@@ -64,11 +64,11 @@ class lyhDemo extends Command @@ -64,11 +64,11 @@ class lyhDemo extends Command
64 $projectModel = new Project(); 64 $projectModel = new Project();
65 $lists = $projectModel->list(['delete_status' => 0,'project_type'=>0,'extend_type'=>0,'type'=>2], 'id', ['id']); 65 $lists = $projectModel->list(['delete_status' => 0,'project_type'=>0,'extend_type'=>0,'type'=>2], 'id', ['id']);
66 foreach ($lists as $item){ 66 foreach ($lists as $item){
67 - if(in_array($item['project_id'],[467,110,3298])){ 67 + if(in_array($item['id'],[467,110,3298])){
68 continue; 68 continue;
69 } 69 }
70 $data = [ 70 $data = [
71 - 'project_id'=>$item['project_id'], 71 + 'project_id'=>$item['id'],
72 'prefix'=>$info['prefix'], 72 'prefix'=>$info['prefix'],
73 'suffix'=>$info['suffix'] 73 'suffix'=>$info['suffix']
74 ]; 74 ];