Commit 0c83f287 authored by zhuwei's avatar zhuwei

1

parent 5494c6d3
......@@ -58,7 +58,11 @@ class Notice extends Basic
}
if (is_numeric($this->params['auth_group_id'])) {
$where['b.auth_group_id'] = $this->params['auth_group_id'];
if($this->params['auth_group_id'] == 1){
$where['b.auth_group_id'] = 2;
}else{
$where['b.auth_group_id'] = array('in','22,23,25,26');
}
}
$field = 'a.id,a.title,a.content,a.create_time,a.create_time,b.auth_group_id,b.name';
......
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