优化搜索
This commit is contained in:
parent
bae43ad382
commit
c60d8d2dc9
@ -104,11 +104,12 @@ class CatchQuery extends Query
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @time 2020年01月13日
|
* @time 2020年01月13日
|
||||||
|
* @param array $params
|
||||||
* @return CatchQuery
|
* @return CatchQuery
|
||||||
*/
|
*/
|
||||||
public function catchSearch(): CatchQuery
|
public function catchSearch($params = []): CatchQuery
|
||||||
{
|
{
|
||||||
$params = \request()->param();
|
$params = empty($params) ? \request()->param() : $params;
|
||||||
|
|
||||||
if (empty($params)) {
|
if (empty($params)) {
|
||||||
return $this;
|
return $this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user