From 63b01e65b852b440102b423fe0f5b91396843d9c Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Sun, 15 Jan 2023 11:38:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E8=B5=84=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3):=20=E5=8F=82=E6=95=B0=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/v1/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/v1/Manager.php b/app/controller/api/v1/Manager.php index 25baab4..2327703 100644 --- a/app/controller/api/v1/Manager.php +++ b/app/controller/api/v1/Manager.php @@ -580,7 +580,7 @@ class Manager extends Base $where = []; if (!empty($date)) { - $date = str_replace('_', '', $date); + $date = str_replace('-', '', $date); $where[] = ['pml.time', '=', $date]; }