diff --git a/api/controllers/wxapp/app/Business.php b/api/controllers/wxapp/app/Business.php index e5157099..e646aa74 100644 --- a/api/controllers/wxapp/app/Business.php +++ b/api/controllers/wxapp/app/Business.php @@ -47,8 +47,8 @@ class Business extends Wxapp{ $info_json = json_decode($order['info_json'],true); $business_id = $info_json['business_id']; //存在已支付订单 - $if_pay = $this->app_liche_orders_model->count(['o_id'=>$oid,'status'=>1]); - if($if_pay && $order && $s_id==$order['s_id'] && $v_id==$order['v_id']){ + //$if_pay = $this->app_liche_orders_model->count(['o_id'=>$oid,'status'=>1]); + if($order && $s_id==$order['s_id'] && $v_id==$order['v_id']){ $row = $this->auto_business_model->get(['id'=>$business_id]); }else{ throw new Exception('当前地区不支持销售该车型', API_CODE_FAIL);