作者 lyh

gx数据

@@ -118,7 +118,7 @@ class AiBlogAuthorTask extends Command @@ -118,7 +118,7 @@ class AiBlogAuthorTask extends Command
118 return true; 118 return true;
119 } 119 }
120 $aiBlogAuthorModel = new AiBlogAuthor(); 120 $aiBlogAuthorModel = new AiBlogAuthor();
121 - $info = $aiBlogAuthorModel->counts(['project_id'=>$project_id]); 121 + $info = $aiBlogAuthorModel->counts(['id'=>['!=',0]]);
122 if($info == 0){ 122 if($info == 0){
123 echo '项目id:'.$project_id.'执行新增。'.$info; 123 echo '项目id:'.$project_id.'执行新增。'.$info;
124 foreach ($data as $v){ 124 foreach ($data as $v){