From ab0ee4d6b4cc06e095a6de21fe8d1355c89770d0 Mon Sep 17 00:00:00 2001 From: chengxl Date: Fri, 28 Nov 2025 13:15:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Production.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/application/api/controller/Production.php b/application/api/controller/Production.php index de8f778..87e34f4 100644 --- a/application/api/controller/Production.php +++ b/application/api/controller/Production.php @@ -1854,11 +1854,6 @@ class Production extends Base $this->referToDoi($data['p_article_id']); $this->doiTofrag($data['p_article_id']); - //写入获取参考文献详情队列 chengxiaoling 20251127 start - if(!empty($data['p_article_id'])){ - \think\Queue::push('app\api\job\AiCheckRefer@fire',['p_article_id' => $data['p_article_id']],'AiCheckRefer'); - } - //写入获取参考文献详情队列 chengxiaoling 20251127 end return jsonSuccess([]); } @@ -1944,7 +1939,11 @@ class Production extends Base if ($v['refer_doi'] == '') { $this->production_article_refer_obj->where('p_refer_id', $v['p_refer_id'])->update(['refer_frag' => $v['refer_content']]); } else { - Queue::push('app\api\job\ts@fire1', $v, 'ts'); + + //修改队列兼容对接OPENAI接口 chengxiaoling 20251128 start + // Queue::push('app\api\job\ts@fire1', $v, 'ts'); + Queue::push('app\api\job\ArticleReferDetailQueue@fire', $v, 'ArticleReferDetailQueue'); + //修改队列兼容对接OPENAI接口 chengxiaoling 20251128 end } } return jsonSuccess([]);