feat: RBAC 基本完成
This commit is contained in:
@@ -14,3 +14,13 @@ type GetUserList struct {
|
||||
Account string `json:"account" form:"account"`
|
||||
Phone string `json:"phone" form:"phone"`
|
||||
}
|
||||
|
||||
type ChangePwd struct {
|
||||
Id string `json:"id"`
|
||||
NewPwd string `json:"newPwd"`
|
||||
}
|
||||
|
||||
type GrantRole struct {
|
||||
UserId string `json:"userId"`
|
||||
RoleIds []string `json:"roleIds"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user