This commit is contained in:
wangjinlei
2023-02-24 18:03:37 +08:00
parent 45a6caadb0
commit c5e6781197
6 changed files with 206 additions and 15 deletions

View File

@@ -815,6 +815,18 @@ class Reviewer extends Controller
$tt1 .= 'Contact us<br>TMR Publishing Group Address: 11 Cockle Bay Rd, Cockle Bay, Auckland 2014, New Zealand<br>Telephone: +64 02108293806<br>E-mail: publisher@tmrjournals.com';
//为审稿人增加积分
$score = 0;
if($journal_info['level']=='A'){
$score = 0.3;
}elseif($journal_info['level']=="B"){
$score = 0.2;
}else{
$score = 0.1;
}
addUserScoreLog($art_rev_info['reviewer_id'],$score,"add score ".$score." for submit article",time());
$this->user_obj->where('user_id',$art_rev_info['reviewer_id'])->setInc('score',$score);
$sendReviewer = [
'title' => 'Your contribution is greatly appreciated', // 邮件标题
'content' => $tt1, //邮件内容