From 0ee8c361deb13ed74db89370c0a474010c22852a 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 22:11:24 +0800 Subject: [PATCH] bo --- market/controllers/api/sylive/GroupsStatistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/market/controllers/api/sylive/GroupsStatistics.php b/market/controllers/api/sylive/GroupsStatistics.php index 1950851b..c593a0b4 100644 --- a/market/controllers/api/sylive/GroupsStatistics.php +++ b/market/controllers/api/sylive/GroupsStatistics.php @@ -452,9 +452,9 @@ class GroupsStatistics extends BaseController while ($start_Time < $end_Time) { if($i > 0){ $start_Time = $start_Time + 86400; - $start = date('Y-m-d H:i:s', $start_Time); } + $start = date('Y-m-d H:i:s', $start_Time); $end = date('Y-m-d H:i:s', $start_Time + 86400); $name = date('Y-m-d', $start_Time); $times[] = ['name' => $name, 'start' => $start, 'end' => $end];