🐞 fix: quickSearch
This commit is contained in:
parent
c5164e25e9
commit
b908276555
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user