From 63645d248c765244488cd34dbc1bb6528ca6b7c7 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 05 九月 2023 09:58:13 +0800 Subject: [PATCH] 修复编译 --- system-service/vo/user.go | 76 +++++++++++++++++++------------------- 1 files changed, 38 insertions(+), 38 deletions(-) diff --git a/system-service/vo/user.go b/system-service/vo/user.go index d5673c5..e50ba8f 100644 --- a/system-service/vo/user.go +++ b/system-service/vo/user.go @@ -1,39 +1,39 @@ -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"` } \ No newline at end of file -- Gitblit v1.8.0