mergeDev/campaign #73
|
@ -15,6 +15,7 @@ type CreateRoleRequest struct {
|
|||
Name string `json:"name"`
|
||||
Code string `json:"code"`
|
||||
Type string `json:"type"`
|
||||
Permissions []string `json:"permissions"`
|
||||
}
|
||||
|
||||
type UpdateRoleRequest struct {
|
||||
|
@ -22,4 +23,5 @@ type UpdateRoleRequest struct {
|
|||
Name string `json:"name"`
|
||||
Code string `json:"code"`
|
||||
Type string `json:"type"`
|
||||
Permissions []string `json:"permissions"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue