🐞 fix: quickSearch

This commit is contained in:
jhs1873 2021-09-07 16:37:20 +08:00
parent c5164e25e9
commit b908276555

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);
}
}
}
}