工会后台修改
This commit is contained in:
@@ -98,6 +98,9 @@ class Admin extends GuildAdmin
|
|||||||
|
|
||||||
$ruleList = db::name("vs_guild_admin_auth")->field('type,condition,remark,createtime,updatetime', true)->where('status', "normal")->order('weigh DESC,id ASC')->select();
|
$ruleList = db::name("vs_guild_admin_auth")->field('type,condition,remark,createtime,updatetime', true)->where('status', "normal")->order('weigh DESC,id ASC')->select();
|
||||||
foreach ($ruleList as $k => &$v) {
|
foreach ($ruleList as $k => &$v) {
|
||||||
|
if($this->auth->id !=1 && $v['id'] == 5){
|
||||||
|
unset($ruleList[$k]);
|
||||||
|
}
|
||||||
$v['title'] = __($v['title']);
|
$v['title'] = __($v['title']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user