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([]);