|
|
|
@ -231,6 +231,9 @@ class Order extends OrderModel |
|
|
|
|
} |
|
|
|
|
// 起止时间 |
|
|
|
|
if (!empty($params['betweenTime'])) { |
|
|
|
|
if (isset($params['betweenTime']) && is_array($params['betweenTime'])) { |
|
|
|
|
$params['betweenTime'] = implode(',', $params['betweenTime']); |
|
|
|
|
} |
|
|
|
|
$betweenTime = explode(',', $params['betweenTime']); |
|
|
|
|
$times = between_time($betweenTime); |
|
|
|
|
$filter[] = ['order.create_time', '>=', $times['start_time']]; |
|
|
|
|