From 1f152ac98873a2891c954d6a15bc0ff2d0577143 Mon Sep 17 00:00:00 2001 From: chengxl Date: Fri, 29 Aug 2025 10:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=88=E5=AE=A1=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Finalreview.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/application/api/controller/Finalreview.php b/application/api/controller/Finalreview.php index 4156bc2..2ae3eca 100644 --- a/application/api/controller/Finalreview.php +++ b/application/api/controller/Finalreview.php @@ -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; } }