From eabde1d1385430cd02c03b4c0c77b8f333860f1a Mon Sep 17 00:00:00 2001 From: chengxl Date: Thu, 20 Nov 2025 15:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=8F=82=E8=80=83=E6=96=87?= =?UTF-8?q?=E7=8C=AE=E7=9B=B8=E5=85=B3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Preaccept.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/application/api/controller/Preaccept.php b/application/api/controller/Preaccept.php index a918dff0..e1e2de6b 100644 --- a/application/api/controller/Preaccept.php +++ b/application/api/controller/Preaccept.php @@ -1726,25 +1726,21 @@ return null; $iArticleId = empty($aParam['article_id']) ? 0 : $aParam['article_id']; if(empty($iArticleId)){ return jsonError('Please select the article'); - exit(); } //查询是否缴费 $aWhere = ['article_id' => $iArticleId,'state' => ['in',[5,6]]]; $aArticle = $this->article_obj->field('is_buy')->where($aWhere)->find(); if(empty($aArticle)){ return jsonError('No article information found'); - exit(); } $iIsBuy = empty($aArticle['is_buy']) ? 0 : $aArticle['is_buy']; if($iIsBuy != 1){ return jsonError('Article unpaid'); - exit(); } $aWhere = ['article_id' => $iArticleId,'state' => 0]; $aProductionArticle = $this->production_article_obj->field('p_article_id')->where($aWhere)->find(); if(!empty($aProductionArticle)) { return jsonError('The article has entered production'); - exit(); } $aResult = $this->addProductionEx($iArticleId); $aResult = empty($aResult->getData()) ? [] : $aResult->getData(); @@ -1752,7 +1748,6 @@ return null; $sMsg = empty($aResult['msg']) ? 'Data processing failed' : $aResult['msg']; if($iCode != 0){ return jsonError($sMsg); - exit(); } return jsonSuccess([]); }