diff --git a/application/api/controller/Preaccept.php b/application/api/controller/Preaccept.php index da72996..b58ec04 100644 --- a/application/api/controller/Preaccept.php +++ b/application/api/controller/Preaccept.php @@ -1752,10 +1752,10 @@ return null; if(empty($aArticle)){ return jsonError('No article information found'); } - $iIsBuy = empty($aArticle['is_buy']) ? 0 : $aArticle['is_buy']; - if($iIsBuy != 1){ - return jsonError('Article unpaid'); - } + // $iIsBuy = empty($aArticle['is_buy']) ? 0 : $aArticle['is_buy']; + // if($iIsBuy != 1){ + // return jsonError('Article unpaid'); + // } $aWhere = ['article_id' => $iArticleId,'state' => 0]; $aProductionArticle = $this->production_article_obj->field('p_article_id')->where($aWhere)->find(); if(!empty($aProductionArticle)) {