Merge branch 'build-auth-sms' of git.selly.red:Selly-Modules/natsio into develop

This commit is contained in:
Tue 2022-10-31 17:02:49 +07:00
commit 9a69327679
1 changed files with 9 additions and 7 deletions

View File

@ -15,6 +15,7 @@ type CreateRoleRequest struct {
Name string `json:"name"` Name string `json:"name"`
Code string `json:"code"` Code string `json:"code"`
Type string `json:"type"` Type string `json:"type"`
Permissions []string `json:"permissions"`
} }
type UpdateRoleRequest struct { type UpdateRoleRequest struct {
@ -22,4 +23,5 @@ type UpdateRoleRequest struct {
Name string `json:"name"` Name string `json:"name"`
Code string `json:"code"` Code string `json:"code"`
Type string `json:"type"` Type string `json:"type"`
Permissions []string `json:"permissions"`
} }