|
|
@ -241,7 +241,7 @@ class Im extends BaseController |
|
|
$search_date = strtotime($param['search_date']); |
|
|
$search_date = strtotime($param['search_date']); |
|
|
if ($search_date) { |
|
|
if ($search_date) { |
|
|
$start_date = strtotime(date("Y-m-d 00:00:00", $search_date)); |
|
|
$start_date = strtotime(date("Y-m-d 00:00:00", $search_date)); |
|
|
$end_date = strtotime(date("Y-m-d 23:59:59")); |
|
|
$end_date = strtotime(date("Y-m-d 23:59:59", $search_date)); |
|
|
$where[] = ['create_time', '>=', $start_date]; |
|
|
$where[] = ['create_time', '>=', $start_date]; |
|
|
$where[] = ['create_time', '<=', $end_date]; |
|
|
$where[] = ['create_time', '<=', $end_date]; |
|
|
} |
|
|
} |
|
|
|