作者 李宇航

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

gx



查看合并请求 !1758
... ... @@ -234,7 +234,7 @@ class AiBlogTask extends Command
$authorInfo = $aiBlogAuthorModel->read(['author_id'=>$author_id],['id','route']);
if($authorInfo !== false && !empty($result['data']['section'])){
//需要更新的路由
if (!in_array($authorInfo['route'], $this->routes[$item['project_id']] ?? [])) {
if (!in_array($authorInfo['route'], $this->routes[$project_id] ?? [])) {
$this->routes[$project_id][] = $authorInfo['route'];
}
$aiBlogAuthorModel->edit(['text'=>$result['data']['section']],['author_id'=>$author_id]);
... ...