20201112
This commit is contained in:
@@ -567,13 +567,23 @@ class Article extends Controller {
|
||||
return json(['code' => 0]);
|
||||
}
|
||||
|
||||
private function creatLoginUrlForChief($user){
|
||||
private function creatLoginUrlForChief($user,$article_id){
|
||||
$code = md5(time().rand(1000,9999).'thinkphp');
|
||||
$insert['user_id'] = $user['user_id'];
|
||||
$insert['code'] = $code;
|
||||
$insert['ctime'] = time();
|
||||
$this->login_auto_obj->insert($insert);
|
||||
$url = 'https://submission.tmrjournals.com/man_text?Art_id=336&act='.$code;
|
||||
$url = 'https://submission.tmrjournals.com/man_text?Art_id='.$article_id.'&act='.$code;
|
||||
return $url;
|
||||
}
|
||||
|
||||
private function creatLoginUrlForreviewer($user,$article_id){
|
||||
$code = md5(time().rand(1000,9999).'thinkphp');
|
||||
$insert['user_id'] = $user['user_id'];
|
||||
$insert['code'] = $code;
|
||||
$insert['ctime'] = time();
|
||||
$this->login_auto_obj->insert($insert);
|
||||
$url = 'https://submission.tmrjournals.com/per_text?Art_id='.$article_id.'&act='.$code;
|
||||
return $url;
|
||||
}
|
||||
|
||||
@@ -687,7 +697,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="http://submission.tmrjournals.com/submission?journal='.$journal_info['alias'].'">Reviewer Center</a><br>';
|
||||
$tt .= '<a href="'.$this->creatLoginUrlForreviewer($reviewer_info,$article_info['article_id']).'">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