Commit 934081bb authored by zhuwei's avatar zhuwei

1

parent 26e05049
......@@ -354,8 +354,8 @@ class Broker extends Basic
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
$where['a.id'] = [ '<>', 1 ];
if (!empty($params['status'])) {
if (is_numeric($params['status'])) {
$where['a.status'] = $params['status'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment