20201112
This commit is contained in:
@@ -508,7 +508,7 @@ class Article extends Controller {
|
||||
return json(['code'=>0]);
|
||||
}else{
|
||||
//接收文章,必须有两个及以上的大于40个字的对作者的评论,除去news和comment类型的文章
|
||||
if($data['state']==5&&$article_info['type']!="N"&&$article_info['type']!="T"){
|
||||
if($data['state']==5&&$article_info['type']!="N"&&$article_info['type']!="T"&&$article_info['type']!="LTE"){
|
||||
//定义符合条件的数量
|
||||
$rev_real_num = 0;
|
||||
//获取通过的审稿意见数
|
||||
@@ -704,6 +704,17 @@ class Article extends Controller {
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
||||
private function creatRejectUrlForReviewer($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_fail?Art_id='.$article_id.'&act='.$code;
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 获取期刊by领域
|
||||
* @description 获取期刊by领域
|
||||
@@ -848,7 +859,7 @@ class Article extends Controller {
|
||||
$tt .= 'Thank you for your consideration.<br> Look forward for your reply.<br>';
|
||||
$tt .= '<a href="'.$this->creatLoginUrlForreviewer($reviewer_info,$res).'">Click here to review the article</a><br>';
|
||||
// $tt .= '<a href="https://submission.tmrjournals.com/">Click here to review the article</a><br>';
|
||||
// $tt .= '<a href="">Click on the link to reject the review of this manuscript</a><br>';
|
||||
$tt .= '<a href="'.$this->creatRejectUrlForReviewer($reviewer_info, $res).'">Click on the link to reject the review of this manuscript</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