...
|
...
|
@@ -1649,7 +1649,7 @@ class CommonController extends RestBaseController |
|
|
$endTime = isset($data['end_time'])&&!empty($data['end_time'])?$data['end_time']:'';
|
|
|
if (!empty($startTime)) {
|
|
|
$startTime = strtotime(date('Y-m-d',$startTime));
|
|
|
$query->where($train_time, '>', $startTime);
|
|
|
$query->where($train_time, '>=', $startTime);
|
|
|
}
|
|
|
if (!empty($endTime)) {
|
|
|
$endTime = strtotime(date('Y-m-d',$endTime))+86400;
|
...
|
...
|
|