diff --git a/permission/handle.go b/permission/handle.go index f04f53f..662c1a2 100644 --- a/permission/handle.go +++ b/permission/handle.go @@ -150,6 +150,7 @@ func All(queryParams model.PermissionAllQuery) (r model.PermissionAll) { wg.Wait() + r.Limit = query.Limit return } diff --git a/role/handle.go b/role/handle.go index 19a60aa..8d03ae0 100644 --- a/role/handle.go +++ b/role/handle.go @@ -129,6 +129,7 @@ func All(queryParams model.RoleAllQuery) (r model.RoleAll) { wg.Wait() + r.Limit = query.Limit return } diff --git a/user/handle.go b/user/handle.go index b6062bd..6dc9b0f 100644 --- a/user/handle.go +++ b/user/handle.go @@ -143,6 +143,7 @@ func All(queryParams model.UserAllQuery) (r model.UserAll) { wg.Wait() + r.Limit = query.Limit return }