自动推荐审稿人
This commit is contained in:
@@ -459,7 +459,7 @@ class Reviewer
|
||||
$sMsg = '';
|
||||
foreach ($aUser as $key => $value) {
|
||||
|
||||
$email = '1172937051@qq.com';//empty($value['email']) ? '' : $value['email'];
|
||||
$email = 'tmr@tmrjournals.com';//empty($value['email']) ? '' : $value['email'];
|
||||
if(empty($value['email']) || empty($aReviewer[$value['user_id']])){
|
||||
continue;
|
||||
}
|
||||
@@ -636,7 +636,7 @@ class Reviewer
|
||||
|
||||
//发邮件
|
||||
$oArticle = new \app\api\controller\Article;
|
||||
$email = '1172937051@qq.com';//empty($aJournal['email']) ? '' : $aJournal['email'];
|
||||
$email = 'tmr@tmrjournals.com';//empty($aJournal['email']) ? '' : $aJournal['email'];
|
||||
if(empty($email)){
|
||||
return json_encode(['status' => 6,'msg' => 'Journal email not set up']);
|
||||
}
|
||||
@@ -738,7 +738,7 @@ class Reviewer
|
||||
|
||||
//审稿人信息
|
||||
$art_rev_id = empty($aReviewer[$value['user_id']]) ? 0 : $aReviewer[$value['user_id']];
|
||||
$email = '1172937051@qq.com';//empty($value['email']) ? '' : $value['email'];
|
||||
$email = 'tmr@tmrjournals.com';//empty($value['email']) ? '' : $value['email'];
|
||||
if(empty($value['email']) || empty($art_rev_id)){
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user