将发送来的参数转为数组
```
$filter = $this->request->get("filter", '');
$tempFilter = json_decode($filter, true) ?? [];
```
将参数取出后删除原数组的值 然后将数组转回去
```
unset($tempFilter['add_uid']);
$filter = json_encode($tempFilter);
```
重新赋值 where
```
list($where, $sort, $order, $offset, $limit) = $this->buildparams(null, null, $filter);
```
common/controller/backend.php
buildparams方法加参数
![](https://img.kancloud.cn/bd/0e/bd0e09fcd37f0d5940eac2395cb1878c_1680x906.png)