卖方仓库不要出现已完成的订单

huazhiyu
lqmac 1 year ago
parent fb2d32d491
commit 054a23eb24
  1. 2
      application/api/controller/Order.php

@ -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();

Loading…
Cancel
Save