cfmgr init...3

This commit is contained in:
최준흠 2023-06-20 16:26:51 +09:00
parent aaf180a7f0
commit 5c2f68f03b
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class FirewallModel extends Model
}
public function setIndexWordFilter(string $word)
{
// $this->like("description", $word, "both"); //befor , after , both
$this->like("description", $word, "both"); //befor , after , both
// $this->orLike("filter_expression", $word, "both");
$this->orWhereIn("zone_uid", $this->getFindWordByDomain($word));
}

View File

@ -74,7 +74,7 @@ class RecordModel extends Model
public function setIndexWordFilter(string $word)
{
$this->like('host', $word, 'before'); //befor , after , both
$this->orWhere('content', $word); //befor , after , both
$this->orWhere('content', $word);
}
public function setIndexDateFilter($start, $end)
{