diff --git a/app/Models/Cloudflare/API/FirewallModel.php b/app/Models/Cloudflare/API/FirewallModel.php index 397ec27..fde75db 100644 --- a/app/Models/Cloudflare/API/FirewallModel.php +++ b/app/Models/Cloudflare/API/FirewallModel.php @@ -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)); } diff --git a/app/Models/Cloudflare/API/RecordModel.php b/app/Models/Cloudflare/API/RecordModel.php index 5242bb0..fd388a6 100644 --- a/app/Models/Cloudflare/API/RecordModel.php +++ b/app/Models/Cloudflare/API/RecordModel.php @@ -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) {