mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 18:10:25 +08:00
优化系统用户登录校验
This commit is contained in:
@@ -251,9 +251,10 @@ func (this *AdminService) FindAllAdminModules(ctx context.Context, req *pb.FindA
|
||||
}
|
||||
|
||||
list := &pb.AdminModuleList{
|
||||
AdminId: int64(admin.Id),
|
||||
IsSuper: admin.IsSuper == 1,
|
||||
Modules: pbModules,
|
||||
AdminId: int64(admin.Id),
|
||||
IsSuper: admin.IsSuper == 1,
|
||||
Fullname: admin.Fullname,
|
||||
Modules: pbModules,
|
||||
}
|
||||
result = append(result, list)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user