背调优化
发邮件记录添加姓名和邮箱模糊搜索
This commit is contained in:
@@ -989,9 +989,14 @@ class AuthorBackgroundService
|
||||
}
|
||||
$papers = $this->pubmedFetchSummaries($ids);
|
||||
}
|
||||
$urlTerm = $usedTerm;
|
||||
if (preg_match('/^(.+)\[ORCID\]$/i', $usedTerm, $m)) {
|
||||
$urlTerm = $m[1];
|
||||
}
|
||||
|
||||
return [
|
||||
'total' => $total, 'papers' => $papers, 'query' => $usedTerm,
|
||||
'pubmed_url' => 'https://pubmed.ncbi.nlm.nih.gov/?term=' . urlencode($usedTerm),
|
||||
'pubmed_url' => 'https://pubmed.ncbi.nlm.nih.gov/?term=' . urlencode($urlTerm),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user