From 6df09d90a7b26d13e92ae4464043a48045196277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Fri, 12 Jul 2024 21:52:10 +0800 Subject: [PATCH] bo --- market/controllers/api/sylive/GroupsStatistics.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++;