作者 lyh

gx创建作者

@@ -248,7 +248,7 @@ class ProjectLogic extends BaseLogic @@ -248,7 +248,7 @@ class ProjectLogic extends BaseLogic
248 public function createAuthor($project_id,$mch_id,$key){ 248 public function createAuthor($project_id,$mch_id,$key){
249 //查看当前项目是否已经创建了作者 249 //查看当前项目是否已经创建了作者
250 $aiBlogTaskModel = new AiBlogTask(); 250 $aiBlogTaskModel = new AiBlogTask();
251 - $count = $aiBlogTaskModel->counts(); 251 + $count = $aiBlogTaskModel->count();
252 if($count > 0){ 252 if($count > 0){
253 return true; 253 return true;
254 } 254 }