From 3dc23ae547f267894e02684ce5859158802fe0d6 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Sun, 30 Jul 2023 17:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84id=E5=AD=97=E6=AE=B5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/application/api/controller/library/Pass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/application/api/controller/library/Pass.php b/source/application/api/controller/library/Pass.php index 36d2a76..77b27b1 100644 --- a/source/application/api/controller/library/Pass.php +++ b/source/application/api/controller/library/Pass.php @@ -50,8 +50,8 @@ class Pass extends Controller $data_json = $this->request->param('data'); $data = json_decode(html_entity_decode($data_json),true); - $hour = date("H:"); - $last_hour = date("H",strtotime('-1 hour')); + $hour = date("H:00"); + $last_hour = date("H:00",strtotime('-1 hour')); $dm = new Dm(); foreach ($data as $val) {