From d70d0afbaff5b5fd158526c057ccc26f7c49cd10 Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Thu, 14 Oct 2021 16:53:32 +0800 Subject: [PATCH] edit-api-xz_stat --- api/controllers/wxapp/licheb/Xz.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/wxapp/licheb/Xz.php b/api/controllers/wxapp/licheb/Xz.php index 20207c2d..b321fd47 100644 --- a/api/controllers/wxapp/licheb/Xz.php +++ b/api/controllers/wxapp/licheb/Xz.php @@ -102,7 +102,7 @@ class Xz extends Wxapp{ ]; if($day){ $s_time = date('Y-m-d 00:00:00',strtotime($day)); - $e_time = date('Y-m-d 23:59:59',strtotime($day)); + $e_time = date('Y-m-t 23:59:59',strtotime($day)); $where1["c_time>="] = strtotime($s_time); $where1["c_time<="] = strtotime($e_time); }