fix: 平台超管权限走角色配置

This commit is contained in:
richjohnrambo
2026-09-20 21:50:43 +08:00
parent b68c048383
commit 97990785cb
+1 -1
View File
@@ -70,7 +70,7 @@ func (s *sAdminRole) Verify(ctx context.Context, path, method string) bool {
return false
}
if isAdminScopeSuper(ctx, user.Id, user.RoleId) {
if service.AdminMember().VerifySuperId(ctx, user.Id) {
return true
}