接口调整
This commit is contained in:
@@ -1854,11 +1854,6 @@ class Production extends Base
|
|||||||
|
|
||||||
$this->referToDoi($data['p_article_id']);
|
$this->referToDoi($data['p_article_id']);
|
||||||
$this->doiTofrag($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([]);
|
return jsonSuccess([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1944,7 +1939,11 @@ class Production extends Base
|
|||||||
if ($v['refer_doi'] == '') {
|
if ($v['refer_doi'] == '') {
|
||||||
$this->production_article_refer_obj->where('p_refer_id', $v['p_refer_id'])->update(['refer_frag' => $v['refer_content']]);
|
$this->production_article_refer_obj->where('p_refer_id', $v['p_refer_id'])->update(['refer_frag' => $v['refer_content']]);
|
||||||
} else {
|
} 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([]);
|
return jsonSuccess([]);
|
||||||
|
|||||||
Reference in New Issue
Block a user