...
|
...
|
@@ -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];
|
|
|
// }
|
...
|
...
|
|