工会后台修改

This commit is contained in:
2025-12-06 09:19:22 +08:00
parent d6005ffe1f
commit ab0b23539e

View File

@@ -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']);
} }