...
|
...
|
@@ -1091,6 +1091,9 @@ class SecondController extends RestBaseController |
|
|
$userId=$this->getUserId();
|
|
|
$map['o.user_id']=$userId;
|
|
|
$map['o.status']=input('type');
|
|
|
if($map['o.status']==2){
|
|
|
$map['o.status']=-1;
|
|
|
}
|
|
|
$Order=new OrderModel();
|
|
|
$data=$Order->alias('o')->field('g.pic,g.good_name,o.*')->join('goods g','g.id=o.good_id')
|
|
|
->where($map)
|
...
|
...
|
|