添加报警记录开始时间查询

dev
vine_liutk 2022-11-15 15:39:04 +08:00
parent fcfe58245c
commit c790e8b39a
1 changed files with 4 additions and 0 deletions

View File

@ -19,4 +19,8 @@ class DeviceWarningFilter extends ModelFilter
{
return $this->where('status', $status);
}
public function stratTime($startTime){
return $this->where('created_at', '>=', $startTime);
}
}