cfmgrv3 init...3
This commit is contained in:
parent
1c5cf8e9d2
commit
7e75740966
@ -73,11 +73,10 @@ class ZoneModel extends Model
|
||||
//Index 검색용
|
||||
public function setIndexWordFilter(string $word)
|
||||
{
|
||||
if (isIPAddress_CommonHelper($this->_viewDatas['fieldDatas']['content'], $this->_viewDatas['fieldDatas']['type'])) {
|
||||
$this->like('domain', $word, 'both'); //befor , after , both
|
||||
if (isIPAddress_CommonHelper($word)) {
|
||||
$ids = $this->_model->table('cloudflarerecord')->select('zone_uid')->where('content', $word, 'both')->findAll();
|
||||
$this->wherein('uid', $ids);
|
||||
} else {
|
||||
$this->like('domain', $word, 'both'); //befor , after , both
|
||||
}
|
||||
}
|
||||
public function setIndexDateFilter($start, $end)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user