终审调整

This commit is contained in:
chengxl
2025-08-29 10:32:20 +08:00
parent f6a6f237f7
commit 1f152ac988

View File

@@ -147,7 +147,7 @@ class Finalreview extends Base
}
//判断文章状态是否进入终审
$iArticleState = !isset($aArticle['state']) ? '' : $aArticle['state'];
if($iArticleState != 7){
if($iArticleState != 8){
return json_encode(['status' => 4,'msg' => 'The article has not entered the final review stage']);
}
@@ -226,7 +226,7 @@ class Finalreview extends Base
}
//判断文章状态是否进入终审
$iArticleState = empty($aArticle['state']) ? '' : $aArticle['state'];
if($iArticleState != 7){
if($iArticleState != 8){
return json_encode(['status' => 4,'msg' => 'The article has not entered the final review stage']);
}
@@ -507,7 +507,7 @@ class Finalreview extends Base
}
//判断文章状态是否进入终审
$iArticleState = !isset($aArticle['state']) ? '' : $aArticle['state'];
if($iArticleState != 7){
if($iArticleState != 8){
return json_encode(['status' => 5,'msg' => 'The article has not entered the final review stage']);
}
@@ -838,7 +838,7 @@ class Finalreview extends Base
}
//判断文章状态是否进入终审
$iArticleState = !isset($aArticle['state']) ? '' : $aArticle['state'];
if($iArticleState != 7){
if($iArticleState != 8){
return json_encode(['status' => 4,'msg' => 'The article has not entered the final review stage']);
}
@@ -963,11 +963,8 @@ class Finalreview extends Base
$result = Db::name('login_auto')->insertGetId($aInsert);
//返回链接
$sJumpUrl = 'per_text_fail';//拒绝
if($is_agree == 1){
$sJumpUrl = 'per_text';//同意
}
return trim($this->sTouGaoUrl,'/').'/'.$sJumpUrl.'?record_id=' . $record_id . '&act=' . $code;
$sJumpUrl = 'edit_per_text_yq';//拒绝
return trim($this->sTouGaoUrl,'/').'/'.$sJumpUrl.'?r_id=' . $record_id . '&act=' . $code;
}
}