|
|
|
@ -108,8 +108,6 @@ class OrderRefund extends OrderRefundModel |
|
|
|
|
foreach ($list['data'] as $key => $row) { |
|
|
|
|
$row['orderData']['pay_method_text'] = Method::data()[$row['orderData']['pay_method']]['name'];//支付方式 |
|
|
|
|
$row['orderData']['delivery_type_text'] = DeliveryType::data()[$row['orderData']['delivery_type']]['name'];//配送方式 |
|
|
|
|
// $row['orderData']['order_status'] = $row['orderData']['status']; |
|
|
|
|
// unset($row['orderData']['status']); |
|
|
|
|
$newRow = array_merge($row, $row['orderData']); |
|
|
|
|
$list['data'][$key] = $newRow; |
|
|
|
|
unset($list['data'][$key]['orderData']); |
|
|
|
@ -160,6 +158,7 @@ class OrderRefund extends OrderRefundModel |
|
|
|
|
} |
|
|
|
|
// 起止时间 |
|
|
|
|
if (!empty($params['betweenTime'])) { |
|
|
|
|
$params['betweenTime'] = explode(',', $params['betweenTime']); |
|
|
|
|
$times = between_time($params['betweenTime']); |
|
|
|
|
$filter[] = ['refund.create_time', '>=', $times['start_time']]; |
|
|
|
|
$filter[] = ['refund.create_time', '<', $times['end_time'] + 86400]; |
|
|
|
|