diff --git a/extend/catcher/CatchQuery.php b/extend/catcher/CatchQuery.php index 3f018b8014c1464c95f596d0b0c1cafc16d07455..5af6626933925cdd719059479a5a9989124e5a9f 100644 --- a/extend/catcher/CatchQuery.php +++ b/extend/catcher/CatchQuery.php @@ -184,7 +184,9 @@ public function quickSearch($params = []): 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); + } } } }