This commit is contained in:
wangjinlei
2024-09-05 10:37:56 +08:00
parent ec95437a3e
commit dd1bffa778
4 changed files with 13 additions and 4 deletions

View File

@@ -656,7 +656,7 @@ function addUserScoreLog($user_id, $score, $content, $ctime, $act = '+')
function my_doiToFrag2($data)
{
$p_refer_obj = Db::name('production_article_refer');
if ($data['refer_doi'] == '') {
if ($data['refer_doi'] == ''||$data['state']==1) {
return 0;
}
$doi = str_replace('/', '%2F', $data['refer_doi']);