diff --git a/application/common/Reviewer.php b/application/common/Reviewer.php
index 5b90d8a..f5b77a0 100644
--- a/application/common/Reviewer.php
+++ b/application/common/Reviewer.php
@@ -44,14 +44,14 @@ class Reviewer
Website: {website}'
],
'revision' => [
- 'email_subject' => 'Termination of Review Assignment for [{accept_sn}]',
+ 'email_subject' => 'Termination of Review Assignment for {journal_title}-[{accept_sn}]',
'email_content' => '
- Dear {realname},
+ Dear Dr. {realname},
I hope this message finds you well.
We truly appreciate your kind acceptance to review the manuscript titled "{article_title}" ({accept_sn}).
However, due to recent updates in our editorial workflow, we would like to request the termination of this review task.
We sincerely apologize for any inconvenience caused and are grateful for your ongoing support of our journal. We hope to have the opportunity to invite you for future reviews.
- Thank you for your understanding.
+ Thank you for your understanding.
Sincerely,
Editorial Office
Subscribe to this journal
@@ -461,8 +461,8 @@ class Reviewer
$sMsg = '';
foreach ($aUser as $key => $value) {
- $email = 'tmr@tmrjournals.com';//empty($value['email']) ? '' : $value['email'];
- if(empty($value['email']) || empty($aReviewer[$value['user_id']])){
+ $email = empty($value['email']) ? '' : $value['email'];
+ if(empty($email) || empty($aReviewer[$value['user_id']])){
continue;
}
@@ -637,7 +637,7 @@ class Reviewer
//发邮件
$oArticle = new \app\api\controller\Article;
- $email = 'tmr@tmrjournals.com';//empty($aJournal['email']) ? '' : $aJournal['email'];
+ $email = empty($aJournal['email']) ? '' : $aJournal['email'];
if(empty($email)){
return json_encode(['status' => 6,'msg' => 'Journal email not set up']);
}
@@ -739,8 +739,8 @@ class Reviewer
//审稿人信息
$art_rev_id = empty($aReviewer[$value['user_id']]) ? 0 : $aReviewer[$value['user_id']];
- $email = 'tmr@tmrjournals.com';//empty($value['email']) ? '' : $value['email'];
- if(empty($value['email']) || empty($art_rev_id)){
+ $email = empty($value['email']) ? '' : $value['email'];
+ if(empty($email) || empty($art_rev_id)){
continue;
}
if(in_array($art_rev_id, $aEmail)){//已发过邮件代表已经扣减分数