cfmgrv3 init...3
This commit is contained in:
parent
2e2d809b12
commit
4e1f49d905
@ -74,10 +74,8 @@ class ZoneModel extends Model
|
|||||||
public function setIndexWordFilter(string $word)
|
public function setIndexWordFilter(string $word)
|
||||||
{
|
{
|
||||||
$this->like('domain', $word, 'both'); //befor , after , both
|
$this->like('domain', $word, 'both'); //befor , after , both
|
||||||
if (isIPAddress_CommonHelper($word)) {
|
$subquery = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both');
|
||||||
$subquery = $this->db->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both');
|
$this->orWhereIn('uid', $subquery);
|
||||||
$this->orWhereIn('uid', $subquery);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
public function setIndexDateFilter($start, $end)
|
public function setIndexDateFilter($start, $end)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user