|
|
|
@ -404,7 +404,7 @@ class Order extends Api |
|
|
|
|
if ($status != "") { |
|
|
|
|
$where['status'] = ['in', explode(",", $status)]; |
|
|
|
|
} else { |
|
|
|
|
$where['status'] = ['in', [0,1,3,4,5,6]]; |
|
|
|
|
$where['status'] = ['in', [0,1,3,4,5]]; |
|
|
|
|
} |
|
|
|
|
$list = OrderModel::where('user_id', $user_id)->where('order_type', 1)->where($where)->order('id', 'desc')->paginate($this->request->param('list_rows', $limit))->each(function ($item, $key){ |
|
|
|
|
$order_goods = Detail::where('order_id', $item['id'])->select(); |
|
|
|
|