feat(role): Add sequence field to RoleMenuResponse and update ToRoleResponse mapping
Deploy Application / deploy (push) Successful in 21s
Details
Deploy Application / deploy (push) Successful in 21s
Details
This commit is contained in:
parent
e83a114390
commit
13e6c86acb
|
|
@ -104,6 +104,7 @@ type RoleMenuResponse struct {
|
|||
Name string `json:"name"`
|
||||
IconUrl string `json:"icon_url"`
|
||||
Url string `json:"url"`
|
||||
Sequence int `json:"sequence"`
|
||||
}
|
||||
|
||||
type RolePermissionsResponse struct {
|
||||
|
|
|
|||
|
|
@ -486,6 +486,7 @@ func ToRoleResponse(role entities.M_Role) dto.RoleResponse {
|
|||
Name: m.Name,
|
||||
IconUrl: m.IconUrl,
|
||||
Url: m.Url,
|
||||
Sequence: m.Sequence,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue