参看文献再次更新

This commit is contained in:
wangjinlei
2026-07-15 13:18:53 +08:00
parent 296294d405
commit 6c43d9b994
3 changed files with 152 additions and 33 deletions

View File

@@ -1932,7 +1932,8 @@ class Production extends Base
}
$this->referToDoi($data['p_article_id']);
(new ReferenceDispatchService())->dispatchRefersByType($data['p_article_id']);
// 每条文献单独入队,接口立即返回;多 worker 可并行处理 200+ 条
(new ReferenceDispatchService())->enqueueRefersByType($data['p_article_id']);
return jsonSuccess([]);
}
@@ -1999,7 +2000,7 @@ class Production extends Base
public function doiTofrag($p_article_id)
{
(new ReferenceDispatchService())->dispatchRefersByType($p_article_id);
(new ReferenceDispatchService())->enqueueRefersByType($p_article_id);
return jsonSuccess([]);
}