接口调整

This commit is contained in:
chengxl
2025-11-28 13:15:47 +08:00
parent 2a5e011593
commit ab0ee4d6b4

View File

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