|
@@ -20,7 +20,9 @@ class merchant_orderControl extends mbMerchantControl
|
|
|
if ($_GET['start_time'] > 0 && $_GET['end_time'] > 0) {
|
|
|
$cond['refill_order.order_time'] = ['between', [$_GET['start_time'], $_GET['end_time']]];
|
|
|
}
|
|
|
- $fields = 'refill_order.order_id,refill_order.order_sn,refill_order.mchid,refill_order.card_no,refill_order.mch_order,refill_order.card_type,refill_order.order_time,refill_order.notify_time,refill_order.refill_amount,refill_order.mch_amount,vr_order.order_state,refill_order.channel_name,refill_order.ch_trade_no';
|
|
|
+ $fields = 'refill_order.order_id,refill_order.order_sn,refill_order.mchid,refill_order.card_no,
|
|
|
+ refill_order.mch_order,refill_order.card_type,refill_order.order_time,refill_order.notify_time,
|
|
|
+ refill_order.refill_amount,refill_order.mch_amount,vr_order.order_state,refill_order.channel_name,refill_order.ch_trade_no,refill_order.official_sn';
|
|
|
$order_list = $model_vr_order->getMerchantOrderList($cond, $this->page, $fields, 'refill_order.order_id desc');
|
|
|
$order_list = $this->merchant_order_format($order_list);
|
|
|
$result['data'] = $order_list;
|