公会后台登录修改 兼容 admin

This commit is contained in:
2025-11-24 17:53:45 +08:00
parent c3670ec2b0
commit b040bf5f68

View File

@@ -97,7 +97,7 @@ class Admin extends GuildAdmin
$this->groupdata = $groupName;
$this->assignconfig("admin", ['id' => $this->auth->id, 'group_ids' => $this->auth->getGroupIds()]);
$ruleList = db::name("vs_guild_admin_auth")->field('type,condition,remark,createtime,updatetime', true)->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) {
$v['title'] = __($v['title']);
}