终审调整
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user