From 038e3989ec2433e97226cec4f9b7ed3f95495371 Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Thu, 17 Nov 2022 15:53:48 +0800 Subject: [PATCH] =?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/ModelFilters/DeviceWarningFilter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ModelFilters/DeviceWarningFilter.php b/app/ModelFilters/DeviceWarningFilter.php index cb002f0..08b698e 100644 --- a/app/ModelFilters/DeviceWarningFilter.php +++ b/app/ModelFilters/DeviceWarningFilter.php @@ -20,7 +20,7 @@ class DeviceWarningFilter extends ModelFilter return $this->where('status', $status); } - public function stratTime($startTime){ - return $this->where('created_at', '>=', $startTime); + public function startTime($startTime){ + return $this->where('created_at', '>', $startTime); } }