diff --git a/model/permission_response.go b/model/permission_response.go index 9557aa2..09e9f55 100644 --- a/model/permission_response.go +++ b/model/permission_response.go @@ -20,5 +20,6 @@ type ( PermissionAll struct { List []Permission `json:"list"` Total int64 `json:"total"` + Limit int64 `json:"limit"` } ) diff --git a/model/role_response.go b/model/role_response.go index 1c47dd1..4223479 100644 --- a/model/role_response.go +++ b/model/role_response.go @@ -27,5 +27,6 @@ type ( RoleAll struct { List []Role `json:"list"` Total int64 `json:"total"` + Limit int64 `json:"limit"` } ) diff --git a/model/user_response.go b/model/user_response.go index 9bd6344..47872cb 100644 --- a/model/user_response.go +++ b/model/user_response.go @@ -22,5 +22,6 @@ type ( UserAll struct { List []User `json:"list"` Total int64 `json:"total"` + Limit int64 `json:"limit"` } )