!8 quickSearch

Merge pull request !8 from jhs1873/master
This commit is contained in:
JaguarJack 2021-09-08 01:42:56 +00:00 committed by Gitee
commit 315b4accb7

View File

@ -184,7 +184,9 @@ class CatchQuery extends Query
// = 值搜索
if ($value || is_numeric($value)) {
$this->where($field, $value);
if ($field != 'page' && $field != 'limit' && $startPos !== 0 && $endPos !== 0 && $operate !== 'like' && $operate !== '%like') {
$this->where($field, $value);
}
}
}
}