diff --git a/application/api/job/review.php b/application/api/job/review.php
index 1ae2be6..83f9bca 100644
--- a/application/api/job/review.php
+++ b/application/api/job/review.php
@@ -120,13 +120,15 @@ class review {
$tt .= 'Email: '.$journal_info['email'].'
';
$tt .= 'Website: '.$journal_info['website'];
sendEmail($user_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
+ return true;
} elseif ($np_num == 2) {//不通过
//发送邮件通知编辑
$tt = 'Reviewers final opinions on the manuscript ID'.$data['accept_sn'].' are rejection. Please login and deal with the next step of this manuscript manually.';
sendEmail($editor_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
+ return true;
} else {//一样一个增加一个审稿案例
$this->add_reviewer($data);
- return true;
+ return true;
}
} elseif ($all >= 3) {
if ($s_num > 0) {//不做任何处理
@@ -155,11 +157,12 @@ class review {
$tt .= 'Email: '.$journal_info['email'].'
';
$tt .= 'Website: '.$journal_info['website'];
sendEmail($user_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
+ return true;
} else {//不通过
//发送邮件通知编辑
$tt = 'Reviewers final opinions on the manuscript ID'.$data['accept_sn'].' are rejection. Please login and deal with the next step of this manuscript manually.';
sendEmail($editor_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
-
+ return true;
}
}
}