作者 lyh

gx数据

... ... @@ -118,7 +118,7 @@ class AiBlogAuthorTask extends Command
}
$aiBlogAuthorModel = new AiBlogAuthor();
$info = $aiBlogAuthorModel->counts(['project_id'=>$project_id]);
if($info === false){
if($info == 0){
foreach ($data as $v){
$param = [
'author_id'=>$v['id'],
... ...