1
This commit is contained in:
@@ -178,7 +178,6 @@ class Article extends Base
|
||||
$user_info = $this->user_obj->where('user_id',$article_info['user_id'])->find();
|
||||
$editor_info = $this->user_obj->where('user_id',$article_info['editor_id'])->find();
|
||||
//接收后为用户增加积分
|
||||
if ($data['state'] == 5) {
|
||||
if ($journal_info['level'] == 'A') {
|
||||
$score = 1;
|
||||
} elseif ($journal_info['level'] == 'B') {
|
||||
@@ -188,7 +187,6 @@ class Article extends Base
|
||||
}
|
||||
addUserScoreLog($user_info['user_id'], $score, "add score " . $score . " for submit article :" . $article_info['accept_sn'], time());
|
||||
$this->user_obj->where('user_id', $user_info['user_id'])->setInc('score', $score);
|
||||
}
|
||||
//添加文章状态信息(如果状态未更新可做通话用,并结束操作)
|
||||
$insert_data['article_id'] = $data['article_id'];
|
||||
$insert_data['state_from'] = $article_info['state'];
|
||||
@@ -204,7 +202,7 @@ class Article extends Base
|
||||
//拒稿或者录用 - 发送审稿意见
|
||||
$this->sendEmailToReviewer($data['article_id'], 5);
|
||||
|
||||
$this->article_obj->where('article_id', $article_info['article_id'])->update(['rtime' => time()]);
|
||||
// $this->article_obj->where('article_id', $article_info['article_id'])->update(['rtime' => time()]);
|
||||
|
||||
$tt = 'Manuscript ID: ' . $article_info['accept_sn'] . '<br>';
|
||||
$tt .= 'Manuscript Title: ' . $article_info['title'] . '<br>';
|
||||
@@ -1272,6 +1270,10 @@ class Article extends Base
|
||||
$tt .= 'Dear Dr. ' . ($user_info['realname'] == '' ? $user_info['account'] : $user_info['realname']) . ',<br>';
|
||||
$tt .= "We are delighted to inform you that your manuscript titled ".$article_info['title']." has been pre-accepted for publication in ".$journal_info['title'].". Congratulations!<br/><br/>";
|
||||
$tt .= 'As per our publication requirements, as well as to ensure a smooth publication process, we kindly request you to log in to the "<a href="https://submission.tmrjournals.com">Author Center</a>" and follow the instructions provided to complete the necessary information for your manuscript.<br/><br/>';
|
||||
$tt .= "Please find below the steps to access your pre-accepted manuscript:<br/><br/>";
|
||||
$tt .= "1. Please log in using your credentials at <a href='https://submission.tmrjournals.com'>https://submission.tmrjournals.com</a>.<br/>";
|
||||
$tt .= "2. Please find your pre-accepted manuscript list in the menu “My Manuscript” on the left.<br/>";
|
||||
$tt .= "3. Please click on the “Enter Pre-accept Process” to proceed.<br/><br/>";
|
||||
$tt .= "If you encounter any difficulties or have any questions, please do not hesitate to contact our editorial team at ".$journal_info['title'].". Welcome your new excellent work!<br/><br/>";
|
||||
} else {
|
||||
$tt = '"' . $article_info['title'] . '"<br>';
|
||||
|
||||
Reference in New Issue
Block a user