Commit 0faa78f7 authored by zhuwei's avatar zhuwei

1

parent 0c83f287
...@@ -354,7 +354,7 @@ class Broker extends Basic ...@@ -354,7 +354,7 @@ class Broker extends Basic
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize']; $pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
$where['a.id'] = [ '<>', 1 ]; $where['a.id'] = [ '<>', 1 ];
//302版本
if (is_numeric($params['status'])) { if (is_numeric($params['status'])) {
$where['a.status'] = $params['status']; $where['a.status'] = $params['status'];
} }
......
...@@ -57,6 +57,7 @@ class Notice extends Basic ...@@ -57,6 +57,7 @@ class Notice extends Basic
$where['a.title'] = ['LIKE', '%' . $this->params['title'] . '%']; $where['a.title'] = ['LIKE', '%' . $this->params['title'] . '%'];
} }
//302版本
if (is_numeric($this->params['auth_group_id'])) { if (is_numeric($this->params['auth_group_id'])) {
if($this->params['auth_group_id'] == 1){ if($this->params['auth_group_id'] == 1){
$where['b.auth_group_id'] = 2; $where['b.auth_group_id'] = 2;
......
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