feat: RBAC 基本完成
This commit is contained in:
@@ -7,3 +7,8 @@ type GetRoleList struct {
|
||||
Code string `json:"code" form:"code"`
|
||||
Name string `json:"name" form:"name"`
|
||||
}
|
||||
|
||||
type GrantMenu struct {
|
||||
RoleId string `json:"roleId"`
|
||||
MenuIds []string `json:"menuIds"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user