终审判断
This commit is contained in:
@@ -626,6 +626,19 @@ class Reviewer extends Base
|
||||
//文章类型转译
|
||||
$res['atype'] = translateType($res['atype']);
|
||||
|
||||
//查询文章状态是否为终审7 chengxiaoling 20250828 start
|
||||
$iArticleId = empty($res['article_id']) ? 0 : $res['article_id'];
|
||||
if(!empty($iArticleId)){
|
||||
//查询文章
|
||||
$aWhere = ['article_id' => $iArticleId,'state' => 7];
|
||||
$aArticle = Db::name('article')->field('article_id,state')->where($aWhere)->find();
|
||||
if(!empty($aArticle)){
|
||||
$res['can_repeat'] = 0;
|
||||
return json($res);
|
||||
}
|
||||
}
|
||||
//查询文章状态是否为终审7 chengxiaoling 20250828 end
|
||||
|
||||
//复审相关
|
||||
$repeats = $this->article_reviewer_repeat_obj->where('art_rev_id',$data['revid'])->select();
|
||||
if($repeats){
|
||||
@@ -1338,7 +1351,8 @@ class Reviewer extends Base
|
||||
$insert['code'] = $code;
|
||||
$insert['ctime'] = time();
|
||||
$this->login_auto_obj->insert($insert);
|
||||
return 'https://submission.tmrjournals.com/per_text?Art_id=' . $article_id . '&act=' . $code;
|
||||
$url = 'https://submission.tmrjournals.com/per_text?Art_id=' . $article_id . '&act=' . $code;
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user