Commit 5f6cabff authored by zhuwei's avatar zhuwei

1

parent 934081bb
......@@ -57,7 +57,11 @@ class Notice extends Basic
$where['a.title'] = ['LIKE', '%' . $this->params['title'] . '%'];
}
$field = 'a.id,a.title,a.content,a.create_time,a.create_time,b.name';
if (is_numeric($this->params['auth_group_id'])) {
$where['a.auth_group_id'] = $this->params['auth_group_id'];
}
$field = 'a.id,a.title,a.content,a.create_time,a.create_time,a.auth_group_id,b.name';
$where['a.status'] = 0;
$where['a.type'] = 1;
......
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