合并分支 'lyh-server' 到 'master'
gx 查看合并请求 !1758
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -234,7 +234,7 @@ class AiBlogTask extends Command | @@ -234,7 +234,7 @@ class AiBlogTask extends Command | ||
| 234 | $authorInfo = $aiBlogAuthorModel->read(['author_id'=>$author_id],['id','route']); | 234 | $authorInfo = $aiBlogAuthorModel->read(['author_id'=>$author_id],['id','route']); |
| 235 | if($authorInfo !== false && !empty($result['data']['section'])){ | 235 | if($authorInfo !== false && !empty($result['data']['section'])){ |
| 236 | //需要更新的路由 | 236 | //需要更新的路由 |
| 237 | - if (!in_array($authorInfo['route'], $this->routes[$item['project_id']] ?? [])) { | 237 | + if (!in_array($authorInfo['route'], $this->routes[$project_id] ?? [])) { |
| 238 | $this->routes[$project_id][] = $authorInfo['route']; | 238 | $this->routes[$project_id][] = $authorInfo['route']; |
| 239 | } | 239 | } |
| 240 | $aiBlogAuthorModel->edit(['text'=>$result['data']['section']],['author_id'=>$author_id]); | 240 | $aiBlogAuthorModel->edit(['text'=>$result['data']['section']],['author_id'=>$author_id]); |
-
请 注册 或 登录 后发表评论