diff --git a/app/store/lists/store_order/StoreOrderLists.php b/app/store/lists/store_order/StoreOrderLists.php index da9681ce1..cdb7d1e1d 100644 --- a/app/store/lists/store_order/StoreOrderLists.php +++ b/app/store/lists/store_order/StoreOrderLists.php @@ -28,7 +28,7 @@ class StoreOrderLists extends BaseAdminDataLists implements ListsSearchInterface public function setSearch(): array { return [ - '=' => ['pay_type', 'paid'], + '=' => ['pay_type', 'paid','reservation'], '%like%' => ['order_id'], 'between_time' => 'create_time', ]; @@ -71,7 +71,8 @@ class StoreOrderLists extends BaseAdminDataLists implements ListsSearchInterface } return StoreOrder::where($this->searchWhere)->with(['user']) - ->field(['id', 'order_id', 'pay_price', 'pay_time','uid', 'pay_type', 'status', 'paid', 'total_num']) + ->field(['id', 'order_id', 'pay_price', 'pay_time','uid', 'pay_type', + 'status', 'paid', 'total_num','reservation','reservation_time']) ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc']) ->select()->each(function ($item){