This commit is contained in:
wangjinlei
2023-06-16 16:48:11 +08:00
parent 39dee4062d
commit 3bd136071d
4 changed files with 34 additions and 21 deletions

View File

@@ -494,7 +494,7 @@ function my_doiToFrag2($data)
}
$update['is_ja'] = $joura == trim($bj[0]) ? 0 : 1;
$update['dateno'] = str_replace(' ', '', str_replace('-', '', trim($bj[1])));
$update['doilink'] = "http://doi.org/" . $data['refer_doi'];
$update['doilink'] = strpos($data['refer_doi'],"http")===false?"http://doi.org/" . $data['refer_doi']:$data['refer_doi'];
$update['cs'] = 1;
}
}