diff --git a/market/controllers/api/sylive/GroupsStatistics.php b/market/controllers/api/sylive/GroupsStatistics.php index 9457e7fd..53e8bafd 100644 --- a/market/controllers/api/sylive/GroupsStatistics.php +++ b/market/controllers/api/sylive/GroupsStatistics.php @@ -452,8 +452,7 @@ class GroupsStatistics extends BaseController $start = date('Y-m-d H:i:s', $start_Time); $ii > 0 && $start_Time = date('Y-m-d H:i:s', $start_Time + 86400); $name = date('Y-m-d', $start_Time); - $start_Time = strtotime($add_time, $start_Time); - $end = date('Y-m-d H:i:s', $start_Time); + $end = date('Y-m-d H:i:s', $start_Time + $add_time); $times[] = ['name' => $name, 'start' => $start, 'end' => $end]; $xAxisData[] = $name; $ii++;