作者 WangXuebo

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

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