|
|
@@ -17,18 +17,22 @@ type UpdateRoleStateReq struct { |
|
|
|
} |
|
|
|
|
|
|
|
type AddRoleReq struct { |
|
|
|
Name string `json:"name" binding:"required" label:"名称"` |
|
|
|
Memo string `json:"memo" binding:"required" label:"备注"` |
|
|
|
Logo string `json:"logo" label:"左边图标"` |
|
|
|
Label string `json:"label" label:"身份标签"` |
|
|
|
Name string `json:"name" binding:"required" label:"名称"` |
|
|
|
Memo string `json:"memo" binding:"required" label:"备注"` |
|
|
|
Logo string `json:"logo" label:"左边图标"` |
|
|
|
Label string `json:"label" label:"身份标签"` |
|
|
|
SeoLogo string `json:"seo_logo" label:"seo"` |
|
|
|
SeoTitle string `json:"seo_title" label:"seo"` |
|
|
|
} |
|
|
|
|
|
|
|
type UpdateRoleReq struct { |
|
|
|
RoleId int `json:"role_id" binding:"required" label:"id"` |
|
|
|
Name string `json:"name" binding:"required" label:"名称"` |
|
|
|
Memo string `json:"memo" binding:"required" label:"备注"` |
|
|
|
Logo string `json:"logo" label:"左边图标"` |
|
|
|
Label string `json:"label" label:"身份标签"` |
|
|
|
RoleId int `json:"role_id" binding:"required" label:"id"` |
|
|
|
Name string `json:"name" binding:"required" label:"名称"` |
|
|
|
Memo string `json:"memo" binding:"required" label:"备注"` |
|
|
|
Logo string `json:"logo" label:"左边图标"` |
|
|
|
Label string `json:"label" label:"身份标签"` |
|
|
|
SeoLogo string `json:"seo_logo" label:"seo"` |
|
|
|
SeoTitle string `json:"seo_title" label:"seo"` |
|
|
|
} |
|
|
|
|
|
|
|
type RoleBindPermissionGroupReq struct { |
|
|
|