作者 WangXuebo

已退款订单不能在查询订单里查到

@@ -297,6 +297,7 @@ class MyOrder extends Api @@ -297,6 +297,7 @@ class MyOrder extends Api
297 $orderModel = new \app\api\model\order\Order(); 297 $orderModel = new \app\api\model\order\Order();
298 //判断用户身份 推广员:1=是,2=否 298 //判断用户身份 推广员:1=是,2=否
299 $where['item.vin'] = ['=', $vin]; 299 $where['item.vin'] = ['=', $vin];
  300 + $where['order.status'] = ['<>', 3];
300 // if ( $this->auth->is_promoter == 2 ) { 301 // if ( $this->auth->is_promoter == 2 ) {
301 // $where['order.pay_user_id'] = ['=', $this->auth->id]; 302 // $where['order.pay_user_id'] = ['=', $this->auth->id];
302 // } 303 // }