| | |
| | | package vo |
| | | |
| | | import "vamicro/system-service/models" |
| | | |
| | | type UserVo struct { |
| | | UserName string `json:"username"` |
| | | Password string `json:"password"` |
| | | Nickname string `json:"nickname"` |
| | | HeadPic string `json:"headpic"` |
| | | RoleId string `json:"roleId"` |
| | | } |
| | | |
| | | type LoginAppUser struct { |
| | | models.SysUser |
| | | SysRoles []models.SysRole `json:"sysRoles"`//用户角色 |
| | | Permissions []string `json:"permissions"` |
| | | SysOrgs []string `json:"sysOrgs"`//用户组织信息 |
| | | SysMenus []SysMenuVo `json:"sysMenus"`//用户菜单 |
| | | RoleName string `json:"roleName"`//角色名称 |
| | | HeadPic string `json:"headpic"`//头像 |
| | | BackgroundPic string `json:"backgroundpic"`//desktop bg picture |
| | | // IconType int `json:"iconType"` |
| | | } |
| | | |
| | | type UserAuthVo struct { |
| | | models.SysUser |
| | | Menus []SysMenuVo `json:"menus"` |
| | | } |
| | | |
| | | type UserEditVo struct { |
| | | Id string `json:"id"` |
| | | UserName string `json:"username"` |
| | | NewPwd string `json:"newPwd"` |
| | | MenuIds []string `json:"menuIds"` |
| | | Nickname string `json:"nickname"` |
| | | HeadPic string `json:"headpic"` |
| | | BackgroundPic string `json:"backgroundpic"` |
| | | IconType int `json:"iconType"` |
| | | package vo
|
| | |
|
| | | import "vamicro/system-service/models"
|
| | |
|
| | | type UserVo struct {
|
| | | UserName string `json:"username"`
|
| | | Password string `json:"password"`
|
| | | Nickname string `json:"nickname"`
|
| | | HeadPic string `json:"headpic"`
|
| | | RoleId string `json:"roleId"`
|
| | | }
|
| | |
|
| | | type LoginAppUser struct {
|
| | | models.SysUser
|
| | | SysRoles []models.SysRole `json:"sysRoles"`//用户角色
|
| | | Permissions []string `json:"permissions"`
|
| | | SysOrgs []string `json:"sysOrgs"`//用户组织信息
|
| | | SysMenus []SysMenuVo `json:"sysMenus"`//用户菜单
|
| | | RoleName string `json:"roleName"`//角色名称
|
| | | HeadPic string `json:"headpic"`//头像
|
| | | BackgroundPic string `json:"backgroundpic"`//desktop bg picture
|
| | | // IconType int `json:"iconType"`
|
| | | }
|
| | |
|
| | | type UserAuthVo struct {
|
| | | models.SysUser
|
| | | Menus []SysMenuVo `json:"menus"`
|
| | | }
|
| | |
|
| | | type UserEditVo struct {
|
| | | Id string `json:"id"`
|
| | | UserName string `json:"username"`
|
| | | NewPwd string `json:"newPwd"`
|
| | | MenuIds []string `json:"menuIds"`
|
| | | Nickname string `json:"nickname"`
|
| | | HeadPic string `json:"headpic"`
|
| | | BackgroundPic string `json:"backgroundpic"`
|
| | | IconType int `json:"iconType"`
|
| | | } |