diff --git a/role/handle.go b/role/handle.go index 8d03ae0..f9d06d3 100644 --- a/role/handle.go +++ b/role/handle.go @@ -139,6 +139,7 @@ func getResponse(role model.DBRole) model.Role { Name: role.Name, Code: role.Code, Level: role.Level, + IsAdmin: role.IsAdmin, CreatedAt: role.CreatedAt, UpdatedAt: role.UpdatedAt, }