20201112
This commit is contained in:
@@ -39,6 +39,7 @@ class Article extends Controller {
|
||||
$this->article_author_obj = Db::name('article_author');
|
||||
$this->article_transfer_obj = Db::name('article_transfer');
|
||||
$this->chief_to_journal_obj = Db::name('chief_to_journal');
|
||||
$this->login_auto_obj = Db::name('login_auto');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -658,6 +659,8 @@ class Article extends Controller {
|
||||
|
||||
return json(['code' => 0]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 添加文章审稿实例(编辑)
|
||||
@@ -665,6 +668,7 @@ class Article extends Controller {
|
||||
public function addArticleReviewer() {
|
||||
//接收参数,查询数据
|
||||
$data = $this->request->post();
|
||||
|
||||
$article_info = $this->article_obj->where('article_id', $data['articleId'])->find();
|
||||
$editor_info = $this->user_obj->where('user_id', $article_info['editor_id'])->find();
|
||||
$reviewer_info = $this->user_obj->where('user_id', $data['uid'])->find();
|
||||
@@ -697,7 +701,7 @@ class Article extends Controller {
|
||||
. ' in the journal '.$journal_info['title'].'. <br>';
|
||||
$tt .= 'Please bring into our knowledge if there is any potential Conflict of Interest. If you agree to review this manuscript, we ask you to complete your review and submit it by submission system within 10 days of receipt of the manuscript.<br><br>';
|
||||
$tt .= 'Thank you for your consideration.<br> Look forward for your reply.<br>';
|
||||
$tt .= '<a href="'.$this->creatLoginUrlForreviewer($reviewer_info,$article_info['article_id']).'">Click here to review the article</a><br>';
|
||||
$tt .= '<a href="'.$this->creatLoginUrlForreviewer($reviewer_info,$res).'">Click here to review the article</a><br>';
|
||||
$tt .= 'Your username:'.$reviewer_info['account'].'<br><br>';
|
||||
$tt .= 'Your original password:123456qwe , if you have reset the password, please login with the new one or click the "<a href="https://submission.tmrjournals.com/retrieve">forgot password</a>".<br>';
|
||||
$tt .= 'Sincerely,<br>Editorial Office<br>';
|
||||
|
||||
Reference in New Issue
Block a user