diff --git a/application/api/controller/Production.php b/application/api/controller/Production.php index bf03e43..9f30e64 100644 --- a/application/api/controller/Production.php +++ b/application/api/controller/Production.php @@ -787,6 +787,15 @@ class Production extends Base $iua['journal_title'] = $journal_info['title']; $this->user_author_obj->insert($iua); } + + //推送到生成AI内容队列 chengxiaoling start 20250530 + if(!empty($p_info['type']) && in_array($p_info['type'], ['Article','Review','Mini Review'])){ + $iArticleId = empty($r_update['w_article_id']) ? 0 : $r_update['w_article_id']; + if(!empty($iArticleId)){ + Queue::push('app\api\job\ArticleAiCreateContent@fire', ['article_id' => $iArticleId], 'ArticleAiCreateContent'); + } + } + //推送到生成AI内容队列 chengxiaoling end 20250530 return jsonSuccess([]); } else { return jsonError('system error:' . $res['msg']);