cfmgrv3 init...3

This commit is contained in:
최준흠 2023-06-28 13:06:48 +09:00
parent 1c5cf8e9d2
commit 7e75740966

View File

@ -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)