cfmgr init...3
This commit is contained in:
parent
aaf180a7f0
commit
5c2f68f03b
@ -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));
|
||||
}
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user