1
This commit is contained in:
@@ -817,7 +817,7 @@ class Datebase extends Controller
|
||||
// 发送ftp
|
||||
$this->createFtpFileInfo($data["journal_stage_id"]);//cnki数据库
|
||||
|
||||
if($journal_info['journal_id']==1){
|
||||
if($journal_info['journal_id']==1||$journal_info['journal_id']==11){
|
||||
$this->scopusPushXML($data["journal_stage_id"]);//scopus数据库
|
||||
}
|
||||
if(in_array($journal_info["journal_id"],[2,8,20,15,9,10,3,1])){//ep数据库
|
||||
@@ -827,6 +827,20 @@ class Datebase extends Controller
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function scopusTest(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"journal_stage_id"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$this->scopusPushXML($data['journal_stage_id']);
|
||||
echo "ok";
|
||||
}
|
||||
|
||||
|
||||
public function Eptest(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
|
||||
Reference in New Issue
Block a user