作者 lyh

gx

@@ -375,7 +375,8 @@ class ProjectLogic extends BaseLogic @@ -375,7 +375,8 @@ class ProjectLogic extends BaseLogic
375 $domainModel->edit(['project_id'=>'','status'=>DomainInfo::STATUS_ZERO]); 375 $domainModel->edit(['project_id'=>'','status'=>DomainInfo::STATUS_ZERO]);
376 } 376 }
377 //重新设置域名 377 //重新设置域名
378 - $domainModel->edit(['status'=>DomainInfo::STATUS_ONE,'project_id'=>$project_id],['domain'=>$domain]); 378 + $rs = $domainModel->edit(['status'=>DomainInfo::STATUS_ONE,'project_id'=>$project_id],['domain'=>$domain]);
  379 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs.$domain, true) . PHP_EOL, FILE_APPEND);
379 return $this->success(); 380 return $this->success();
380 } 381 }
381 382