作者 李宇航

合并分支 'lyh-server' 到 'master'

gx数据



查看合并请求 !1474
@@ -118,7 +118,7 @@ class AiBlogAuthorTask extends Command @@ -118,7 +118,7 @@ class AiBlogAuthorTask extends Command
118 } 118 }
119 $aiBlogAuthorModel = new AiBlogAuthor(); 119 $aiBlogAuthorModel = new AiBlogAuthor();
120 $info = $aiBlogAuthorModel->counts(['project_id'=>$project_id]); 120 $info = $aiBlogAuthorModel->counts(['project_id'=>$project_id]);
121 - if($info === false){ 121 + if($info == 0){
122 foreach ($data as $v){ 122 foreach ($data as $v){
123 $param = [ 123 $param = [
124 'author_id'=>$v['id'], 124 'author_id'=>$v['id'],