diff --git a/app/enterprise/controller/Im.php b/app/enterprise/controller/Im.php index 2c2baad..c427c99 100644 --- a/app/enterprise/controller/Im.php +++ b/app/enterprise/controller/Im.php @@ -241,7 +241,7 @@ class Im extends BaseController $search_date = strtotime($param['search_date']); if ($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', '<=', $end_date]; }