feat(ui): 增加角色管理,管理员方法新增角色关联

This commit is contained in:
吴汉强
2024-03-13 17:24:30 +08:00
parent 5f202e03a2
commit 0485610818
8 changed files with 263 additions and 17 deletions

View File

@@ -2,8 +2,9 @@ package vo
type AdminUser struct {
BaseVo
Username string `json:"username"`
Status bool `json:"status"` // 当前状态
LastLoginAt int64 `json:"last_login_at"` // 最后登录时间
LastLoginIp string `json:"last_login_ip"` // 最后登录 IP
Username string `json:"username"`
Status bool `json:"status"` // 当前状态
LastLoginAt int64 `json:"last_login_at"` // 最后登录时间
LastLoginIp string `json:"last_login_ip"` // 最后登录 IP
RoleIds interface{} `json:"role_ids"` //角色ids
}