mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-17 16:56:39 +08:00
Update context.go
多角色
This commit is contained in:
parent
a6a1c18eae
commit
e414968fc8
@ -25,8 +25,8 @@ type Identity struct {
|
||||
Pid int64 `json:"pid" description:"上级ID"`
|
||||
DeptId int64 `json:"deptId" description:"部门ID"`
|
||||
DeptType string `json:"deptType" description:"部门类型"`
|
||||
RoleId int64 `json:"roleId" description:"角色ID"`
|
||||
RoleKey string `json:"roleKey" description:"角色唯一标识符"`
|
||||
RoleIds []int64 `json:"roleIds" description:"角色ID"`
|
||||
RoleKeys []string `json:"roleKeys" description:"角色标识符"`
|
||||
Username string `json:"username" description:"用户名"`
|
||||
RealName string `json:"realName" description:"姓名"`
|
||||
Avatar string `json:"avatar" description:"头像"`
|
||||
|
Loading…
Reference in New Issue
Block a user