From b4c7bcc71359bb5c38007d2524f5db5aa861f1ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=83=E5=BD=A9=E6=9E=AB=E5=8F=B6?= <424235748@qq.com> Date: Mon, 24 Jul 2023 10:32:58 +0000 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E5=AD=97=E6=AE=B5=E4=B8=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=B1=BB=E5=9E=8B=E6=97=B6=EF=BC=8C=E6=8B=BC=E8=A3=85?= =?UTF-8?q?sql=E6=9D=A1=E4=BB=B6=E9=94=99=E8=AF=AF=E7=9A=84=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 七彩枫叶 <424235748@qq.com> --- app/AdminController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/AdminController.php b/app/AdminController.php index fcbcbeb7..7e51b1ec 100644 --- a/app/AdminController.php +++ b/app/AdminController.php @@ -461,12 +461,12 @@ class AdminController extends BaseController continue 2; } - $exp = '='; + $exp = 'between'; if ($arr[0] === '') { - $exp = '<= TIME'; + $exp = '<='; $arr = $arr[1]; } elseif ($arr[1] === '') { - $exp = '>= TIME'; + $exp = '>='; $arr = $arr[0]; } -- Gitee