This commit is contained in:
JaguarJack 2021-09-14 14:46:56 +08:00
commit a350e86494

View File

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