Documentation
¶
Index ¶
- type ADUserInfo
- type AccessTokenInfo
- type AddOrCreateUserRequest
- type Context
- type ContextUser
- type LoginRsp
- type SysConfigCreateInput
- type SysConfigDeleteInput
- type SysConfigKeyInput
- type SysConfigKeyOutput
- type SysConfigListInput
- type SysConfigListOutput
- type SysConfigOneInput
- type SysConfigOneOutput
- type SysConfigUpdateInput
- type SysDeptCreateInput
- type SysDeptDeleteInput
- type SysDeptListInput
- type SysDeptOneInput
- type SysDeptOneOutput
- type SysDeptUpdateInput
- type SysDictDataCreateInput
- type SysDictDataDeleteInput
- type SysDictDataListInput
- type SysDictDataListOutput
- type SysDictDataOneInput
- type SysDictDataOneOutput
- type SysDictDataUpdateInput
- type SysDictTypeCreateInput
- type SysDictTypeDeleteInput
- type SysDictTypeListInput
- type SysDictTypeListOutput
- type SysDictTypeOneInput
- type SysDictTypeOneOutput
- type SysDictTypeUpdateInput
- type SysFileUploadInput
- type SysFileUploadOutput
- type SysGenAutoCodeInfo
- type SysGenColumnInfo
- type SysGenColumnInput
- type SysGenColumnOutput
- type SysGenPreviewCodeInput
- type SysGenPreviewCodeOutput
- type SysGenTableInfo
- type SysGenTablesOutput
- type SysJobCreateInput
- type SysJobDeleteInput
- type SysJobListInput
- type SysJobListOutput
- type SysJobOneInput
- type SysJobOneOutput
- type SysJobUpdateInput
- type SysLoginLogCreateInput
- type SysLoginLogDeleteInput
- type SysLoginLogListInput
- type SysLoginLogListOutput
- type SysMenuCreateInput
- type SysMenuDeleteInput
- type SysMenuListInput
- type SysMenuOneInput
- type SysMenuOneOutput
- type SysMenuUpdateInput
- type SysOperLogDeleteInput
- type SysOperLogListInput
- type SysOperLogListOutput
- type SysRoleAllocatedListReq
- type SysRoleAllocatedListRes
- type SysRoleCancelUserInput
- type SysRoleCreateInput
- type SysRoleDeleteInput
- type SysRoleListInput
- type SysRoleListOutput
- type SysRoleMenuFieldsOutput
- type SysRoleMenuUpdateRInput
- type SysRoleOneInput
- type SysRoleOneOutput
- type SysRoleSelectUserInput
- type SysRoleUpdateInput
- type SysUserChangeStatusInput
- type SysUserCreateInput
- type SysUserDeleteInput
- type SysUserListInput
- type SysUserListOutput
- type SysUserLoginInput
- type SysUserLoginOutput
- type SysUserOneInput
- type SysUserOneOutput
- type SysUserOnlineCreateInput
- type SysUserOnlineDeleteInput
- type SysUserOnlineGetTokenOutput
- type SysUserOnlineListInput
- type SysUserOnlineListOutput
- type SysUserResetPwdInput
- type SysUserRoleAllocatedListInput
- type SysUserRoleAllocatedListOutput
- type SysUserRoleDeleteInput
- type SysUserRoleUpdateUInput
- type SysUserRolesOutput
- type SysUserSelectRoleInput
- type SysUserUpdateAvatarInput
- type SysUserUpdateInput
- type SysUserUpdateProfileInput
- type SysUserUpdatePwdInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADUserInfo ¶
type ADUserInfo struct {
BusinessPhones []string `json:"businessPhones"`
DisplayName string `json:"displayName"`
GivenName string `json:"givenName"`
JobTitle string `json:"jobTitle"`
Mail string `json:"mail"`
MobilePhone string `json:"mobilePhone"`
OfficeLocation string `json:"officeLocation"`
PreferredLanguage string `json:"preferredLanguage"`
Surname string `json:"surname"`
UserPrincipalName string `json:"userPrincipalName"`
Id string `json:"id"`
}
type AccessTokenInfo ¶
type AddOrCreateUserRequest ¶
type AddOrCreateUserRequest struct {
UserId int64 `json:"user_id"`
UserType string `json:"user_type"`
NickName string `json:"nick_name"`
UserName string `json:"user_name"`
Status int `json:"status"`
Password string `json:"passwd"`
PwdNeedChange int `json:"pwd_need_change"`
Phone string `json:"phone"`
Email string `json:"email"`
Roles []int64 `json:"roles"`
TenantID int64 `json:"tenant_id"`
}
type Context ¶
type Context struct {
// Session *ghttp.Session // 当前Session管理对象
UserInfo *ContextUser // 上下文用户信息
// Roles *ContextRoles // 上下文角色字段列表
Data g.Map // 自定KV变量,业务模块根据需要设置,不固定
}
Context 请求上下文结构
type ContextUser ¶
type ContextUser struct {
User *entity.SysUser // 用户信息
Dept *entity.SysDept // 部门信息
RoleIds []uint // 角色id列表
RoleNames []string // 角色名称
Roles []*entity.SysRole // 角色信息列表
}
ContextUser 请求上下文中的用户信息
type LoginRsp ¶
type LoginRsp struct {
UserID int64 `json:"user_id"`
UserName string `json:"user_name"`
UserNickName string `json:"user_nick_name"`
Token string `json:"token"`
UserType string `json:"user_type"`
FuncList []string `json:"func_list"`
PwdNeedChange bool `json:"pwd_need_change"`
}
LoginRsp
type SysConfigCreateInput ¶
type SysConfigCreateInput struct {
ConfigName string // 参数名称
ConfigKey string // 参数键名
ConfigValue string // 参数键值
ConfigType string // 系统内置(Y是 N否)
Remark string // 备注
}
新增参数输入
type SysConfigDeleteInput ¶
type SysConfigDeleteInput struct {
ConfigIdList []int // 需要删除的数据主键,例:[1,2,3]
}
删除参数输入
type SysConfigKeyOutput ¶
type SysConfigKeyOutput struct {
ConfigValue string `json:"configValue" ` // 参数键值
}
根据参数键名查询参数值输出
type SysConfigListInput ¶
type SysConfigListInput struct {
ConfigName string // 参数名称
ConfigKey string // 参数键名
ConfigValue string // 参数键值
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取参数列表输入
type SysConfigListOutput ¶
type SysConfigListOutput struct {
Rows []*SysConfigOneOutput // 列表
Total int // 数据总数
}
获取参数列表输出
type SysConfigUpdateInput ¶
type SysConfigUpdateInput struct {
ConfigId int // 参数主键
ConfigName string // 参数名称
ConfigKey string // 参数键名
ConfigValue string // 参数键值
ConfigType string // 系统内置(Y是 N否)
Remark string // 备注
}
更新参数信息输入
type SysDeptCreateInput ¶
type SysDeptCreateInput struct {
ParentId int64 // 父部门id
DeptName string // 部门名称
Description string //部门描述
OrderNum int // 显示顺序
Leader string // 负责人
Phone string // 手机号码
Email string // 邮箱
Status string // 部门状态(0正常 1停用)
}
新增部门输入
type SysDeptDeleteInput ¶
type SysDeptDeleteInput struct {
DeptIdList []int64 // 需要删除的数据主键,例:[1,2,3]
}
删除部门输入
type SysDeptListInput ¶
type SysDeptListInput struct {
DeptId int64 // 部门id
DeptName string // 部门名称
Status string // 部门状态;0:正常,1:禁用
}
获取部门列表输入
type SysDeptUpdateInput ¶
type SysDeptUpdateInput struct {
DeptId int64 // 部门id
ParentId int64 // 父部门id
DeptName string // 部门名称
OrderNum int // 显示顺序
Leader string // 负责人
Phone string // 手机号码
Email string // 邮箱
Status string // 部门状态(0正常 1停用)
}
更新部门信息输入
type SysDictDataCreateInput ¶
type SysDictDataCreateInput struct {
DictSort int // 字典排序
DictLabel string // 字典标签
DictValue string // 字典键值
DictType string // 字典类型
CssClass string // 样式属性(其他样式扩展)
ListClass string // 表格回显样式
IsDefault string // 是否默认(0是 1否)
Status string // 状态(0正常 1停用)
Remark string // 备注
}
新增字典数据输入
type SysDictDataDeleteInput ¶
type SysDictDataDeleteInput struct {
DictCodeList []int64 // 需要删除的数据主键,例:[1,2,3]
}
删除字典数据输入
type SysDictDataListInput ¶
type SysDictDataListInput struct {
DictLabel string // 字典标签
DictType string // 字典类型
Status string // 状态(0正常 1停用)
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取字典数据列表输入
type SysDictDataListOutput ¶
type SysDictDataListOutput struct {
Rows []*SysDictDataOneOutput // 列表
Total int // 数据总数
}
获取字典数据列表输出
type SysDictDataUpdateInput ¶
type SysDictDataUpdateInput struct {
DictCode int64 // 字典编码
DictSort int // 字典排序
DictLabel string // 字典标签
DictValue string // 字典键值
DictType string // 字典类型
CssClass string // 样式属性(其他样式扩展)
ListClass string // 表格回显样式
IsDefault string // 是否默认(0是 1否)
Status string // 状态(0正常 1停用)
Remark string // 备注
}
更新字典数据信息输入
type SysDictTypeCreateInput ¶
type SysDictTypeCreateInput struct {
DictName string // 字典名称
DictType string // 字典类型
Status string // 状态(0正常 1停用)
Remark string // 备注
}
新增字典类型输入
type SysDictTypeDeleteInput ¶
type SysDictTypeDeleteInput struct {
DictIdList []int64 // 需要删除的数据主键,例:[1,2,3]
}
删除字典类型输入
type SysDictTypeListInput ¶
type SysDictTypeListInput struct {
DictName string // 字典名称
DictType string // 字典类型
Status string // 状态(0正常 1停用)
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取字典类型列表输入
type SysDictTypeListOutput ¶
type SysDictTypeListOutput struct {
Rows []*SysDictTypeOneOutput // 列表
Total int // 数据总数
}
获取字典类型列表输出
type SysDictTypeUpdateInput ¶
type SysDictTypeUpdateInput struct {
DictId int64 // 字典主键
DictName string // 字典名称
DictType string // 字典类型
Status string // 状态(0正常 1停用)
Remark string // 备注
}
更新字典类型信息输入
type SysFileUploadInput ¶
type SysFileUploadInput struct {
File *ghttp.UploadFile // 上传文件对象
Name string // 自定义文件名称
RandomName bool // 是否随机命名文件
FileType string // 文件类型
}
FileUploadInput 上传文件输入参数
type SysFileUploadOutput ¶
type SysFileUploadOutput struct {
Id uint // 数据表ID
Name string // 文件名称
Path string // 本地路径
Url string // 访问URL,可能只是URI
}
FileUploadOutput 上传文件返回参数
type SysGenAutoCodeInfo ¶
type SysGenAutoCodeInfo struct {
StructName string // Struct名称
Description string // Struct中文名称
ModuleName string // 模块名
BusinessName string // 业务名
ApiFile string // api文件夹
TplCategory string // 使用的模板(crud单表操作 tree树表操作)
AutoCreateApiToSql bool // 自动创建api
AutoMoveFile bool // 自动移动文件
Fields []*SysGenColumnInfo // 列信息
}
表信息
type SysGenColumnInfo ¶
type SysGenColumnInfo struct {
ColumnName string `json:"columnName"` // 字段名
ColumnType string `json:"columnType"` // 字段类型
ColumnComment string `json:"columnComment"` // 字段注释
GoType string `json:"goType"` // go类型
GoField string `json:"goField"` // go字段名
HtmlField string `json:"htmlField"` // json字段名
IsPk string `json:"isPk"` // 是否主键(1是)
IsIncrement string `json:"isIncrement"` // 是否自增(1是)
IsRequired string `json:"isRequired"` // 是否必填(1是)
IsInsert string `json:"isInsert"` // 是否为插入字段(1是)
IsEdit string `json:"isEdit"` // 是否编辑字段(1是)
IsList string `json:"isList"` // 是否列表字段(1是)
IsQuery string `json:"isQuery"` // 是否查询字段(1是)
QueryType string `json:"queryType"` // 查询方式(等于、不等于、大于、小于、范围)
HtmlType string `json:"htmlType"` // 显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
DictType string `json:"dictType"` // 字典类型
Sort int `json:"sort"` // 排序
}
字段信息
type SysGenColumnOutput ¶
type SysGenColumnOutput struct {
TableInfo *SysGenTableInfo
ColumnList []*SysGenColumnInfo
}
获取当前表所有字段输出
type SysGenPreviewCodeOutput ¶
type SysGenPreviewCodeOutput struct {
ServerApi string `json:"server_api"`
ServerController string `json:"server_controller"`
ServerModel string `json:"server_model"`
ServerService string `json:"server_server"`
WebApi string `json:"web_api"`
WebVueList string `json:"web_vueList"`
Sql string `json:"sql"`
}
预览代码输出
type SysGenTableInfo ¶
type SysGenTableInfo struct {
TableName string `json:"tableName"`
TableComment string `json:"tableComment"`
}
表信息
type SysJobCreateInput ¶
type SysJobCreateInput struct {
JobName string // 任务名称
JobGroup string // 任务组名
InvokeTarget string // 调用目标字符串
JobParams string // 参数
CronExpression string // cron执行表达式
MisfirePolicy string // 计划执行错误策略(1立即执行 2执行一次 3放弃执行)
Status string // 状态(0正常 1暂停)
Remark string // 备注信息
}
新增定时任务输入
type SysJobDeleteInput ¶
type SysJobDeleteInput struct {
JobIdList []int64 // 需要删除的数据主键,例:[1,2,3]
}
删除定时任务输入
type SysJobListInput ¶
type SysJobListInput struct {
JobName string // 任务名称
JobGroup string // 任务组名
Status string // 状态(0正常 1暂停)
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取定时任务列表输入
type SysJobListOutput ¶
type SysJobListOutput struct {
Rows []*SysJobOneOutput // 列表
Total int // 数据总数
}
获取定时任务列表输出
type SysJobUpdateInput ¶
type SysJobUpdateInput struct {
JobId int64 // 任务ID
JobName string // 任务名称
JobGroup string // 任务组名
InvokeTarget string // 调用目标字符串
JobParams string // 参数
CronExpression string // cron执行表达式
MisfirePolicy string // 计划执行错误策略(1立即执行 2执行一次 3放弃执行)
Status string // 状态(0正常 1暂停)
Remark string // 备注信息
}
更新定时任务信息输入
type SysLoginLogCreateInput ¶
type SysLoginLogCreateInput struct {
UserName string // 登录账号
Ipaddr string // 登录IP地址
LoginLocation string // 登录地点
Browser string // 浏览器类型
Os string // 操作系统
Status string // 登录状态(0成功 1失败)
Msg string // 提示消息
Err error
}
新建登录日志输入
type SysLoginLogDeleteInput ¶
type SysLoginLogDeleteInput struct {
InfoIdList []int64 // 需要删除的数据主键,例:[1,2,3]
}
删除登录日志输入
type SysLoginLogListInput ¶
type SysLoginLogListInput struct {
UserName string // 登录账号
Ipaddr string // 登录IP地址
Status string // 登录状态(0成功 1失败)
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取登录日志列表输入
type SysLoginLogListOutput ¶
type SysLoginLogListOutput struct {
Rows []*entity.SysLoginLog // 列表
Total int // 数据总数
}
获取登录日志列表输出
type SysMenuCreateInput ¶
type SysMenuCreateInput struct {
MenuName string // 菜单名称
ParentId int // 父菜单ID
Sort int // 排序标记
Path string // 路由地址
Component string // 组件路径
IsFrame string // 是否为外链(0是 1否)
IsCache string // 是否缓存(0缓存 1不缓存)
Query string // 路由参数
MenuType string // 菜单类型(M目录 C菜单 F按钮)
Visible string // 显示状态(0显示 1隐藏)
Status string // 菜单状态(0正常 1停用)
Perms string // 权限标识
IsAuth string // 是否验证(0是 1否)
IsLog string // 是否记录操作日志(0是 1否)
Icon string // 菜单图标
}
新增菜单输入
type SysMenuDeleteInput ¶
type SysMenuDeleteInput struct {
MenuIdList []int // 需要删除的数据主键,例:[1,2,3]
}
删除菜单输入
type SysMenuListInput ¶
获取菜单列表输入
type SysMenuUpdateInput ¶
type SysMenuUpdateInput struct {
MenuId int // 菜单ID
MenuName string // 菜单名称
ParentId int // 父菜单ID
Sort int // 排序标记
Path string // 路由地址
Component string // 组件路径
IsFrame string // 是否为外链(0是 1否)
IsCache string // 是否缓存(0缓存 1不缓存)
Query string // 路由参数
MenuType string // 菜单类型(M目录 C菜单 F按钮)
Visible string // 显示状态(0显示 1隐藏)
Status string // 菜单状态(0正常 1停用)
Perms string // 权限标识
IsAuth string // 是否验证(0是 1否)
IsLog string // 是否记录操作日志(0是 1否)
Icon string // 菜单图标
}
更新菜单信息输入
type SysOperLogDeleteInput ¶
type SysOperLogDeleteInput struct {
OperIdList []int64 // 需要删除的数据主键,例:[1,2,3]
}
删除操作日志输入
type SysOperLogListInput ¶
type SysOperLogListInput struct {
Title string // 模块标题
BusinessType int // 业务类型(0其它 1新增 2删除 3修改 4查询)
OperName string // 操作人员
Status string // 操作状态(0正常 1异常)
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取操作日志列表输入
type SysOperLogListOutput ¶
type SysOperLogListOutput struct {
Rows []*entity.SysOperLog // 列表
Total int // 数据总数
}
获取操作日志列表输出
type SysRoleAllocatedListReq ¶
type SysRoleAllocatedListReq struct {
NickName string // 用户昵称
Mobile string // 手机号码
RoleId uint // 角色ID
PageNum int // 分页码
PageSize int // 分页数量
}
查询角色已授权用户列表请求
type SysRoleAllocatedListRes ¶
type SysRoleAllocatedListRes struct {
Rows []*entity.SysUser `json:"rows"` // 列表
Total int `json:"total"` // 数据总数
}
查询角色已授权用户列表响应
type SysRoleCancelUserInput ¶
角色取消用户输入
type SysRoleCreateInput ¶
type SysRoleCreateInput struct {
RoleName string // 角色名称
RoleSort int // 显示顺序
Status string // 角色状态;0:正常,1:禁用
Remark string // 备注
MenuIds []int // 菜单选中id列表
}
新增角色输入
type SysRoleDeleteInput ¶
type SysRoleDeleteInput struct {
RoleIdList []int // 需要删除的数据主键,例:[1,2,3]
}
删除角色输入
type SysRoleListInput ¶
type SysRoleListInput struct {
RoleName string // 角色名称
Status string // 角色状态;0:正常,1:禁用
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取角色列表输入
type SysRoleListOutput ¶
type SysRoleListOutput struct {
Rows []*SysRoleOneOutput // 列表
Total int // 数据总数
}
获取角色列表输出
type SysRoleMenuFieldsOutput ¶
根据角色id表,获取菜单字段列表输出
type SysRoleMenuUpdateRInput ¶
更新角色绑定的菜单输入
type SysRoleSelectUserInput ¶
角色分配用户输入
type SysRoleUpdateInput ¶
type SysRoleUpdateInput struct {
RoleId uint // 角色ID
RoleName string // 角色名称
RoleSort int // 显示顺序
Status string // 角色状态;0:正常,1:禁用
Remark string // 备注
MenuIds []int // 菜单选中id列表
}
更新角色信息输入
type SysUserChangeStatusInput ¶
用户状态修改输入
type SysUserCreateInput ¶
type SysUserCreateInput struct {
UserName string // 用户账号
NickName string // 用户昵称
Password string // 登录密码
Mobile string // 手机号码
Avatar string // 用户头像地址
Status string // 用户状态;0:正常,1:停用
DeptId int64 // 部门id
Remark string // 备注
RoleIds []uint // 角色选中id列表
}
新增用户输入
type SysUserDeleteInput ¶
type SysUserDeleteInput struct {
UserIdList []int // 需要删除的数据主键,例:[1,2,3]
}
删除用户输入
type SysUserListInput ¶
type SysUserListInput struct {
UserName string // 用户账号
NickName string // 用户昵称
Status string // 用户状态;0:正常,1:停用
DeptId string // 部门id
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取用户列表输入
type SysUserListOutput ¶
type SysUserListOutput struct {
Rows []*SysUserOneOutput // 列表
Total int // 数据总数
}
获取用户列表输出
type SysUserLoginInput ¶
用户登录输入
type SysUserLoginOutput ¶
用户登录输出
type SysUserOnlineCreateInput ¶
type SysUserOnlineCreateInput struct {
Token string `json:"token" ` // 用户token
UserId int64 `json:"userId" ` // 用户id
UserName string `json:"userName" ` // 用户名
Os string `json:"os" ` // 操作系统
Ipaddr string `json:"ipaddr" ` // 登录IP地址
LoginLocation string `json:"loginLocation" ` // 登录地点
Browser string `json:"browser" ` // 浏览器类型
}
添加在线用户输入参数
type SysUserOnlineDeleteInput ¶
type SysUserOnlineDeleteInput struct {
IdList []uint64 // 在线用户id列表
}
删除在线用户
type SysUserOnlineGetTokenOutput ¶
type SysUserOnlineGetTokenOutput struct {
UserId int64 // 用户id
}
查询token是否在线输出
type SysUserOnlineListInput ¶
type SysUserOnlineListInput struct {
UserName string // 用户名
BeginTime string // 开始时间
EndTime string // 结束时间
PageNum int // 分页码
PageSize int // 分页数量
}
获取在线用户列表请求
type SysUserOnlineListOutput ¶
type SysUserOnlineListOutput struct {
Rows []*entity.SysUserOnline `json:"rows"` // 列表
Total int `json:"total"` // 数据总数
}
获取在线用户列表响应
type SysUserResetPwdInput ¶
用户密码重置输入
type SysUserRoleAllocatedListInput ¶
type SysUserRoleAllocatedListInput struct {
UserName string // 用户名
Mobile string // 手机号码
RoleId uint // 角色ID
IsAllocated bool // 是否获取授权用户;false:未授权,true:已授权
PageNum int // 分页码
PageSize int // 分页数量
}
查询角色已授权或未授权用户列表输入
type SysUserRoleAllocatedListOutput ¶
type SysUserRoleAllocatedListOutput struct {
Rows []*SysUserOneOutput // 列表
Total int // 数据总数
}
查询角色已授权用户列表输出
type SysUserRoleDeleteInput ¶
type SysUserRoleDeleteInput struct {
UserIdList []int // 需要删除的数据主键,例:[1,2,3]
RoleIdList []int // 需要删除的数据主键,例:[1,2,3]
}
删除关联信息输入
type SysUserRoleUpdateUInput ¶
更新用户绑定的角色输入
type SysUserRolesOutput ¶
type SysUserRolesOutput struct {
RoleIds []uint // 角色ID
RoleNames []string // 角色名称
Roles []*entity.SysRole // 角色信息
}
}
type SysUserSelectRoleInput ¶
用户分配角色输入
type SysUserUpdateAvatarInput ¶
用户修改个人信息输入
type SysUserUpdateInput ¶
type SysUserUpdateInput struct {
UserId uint // 用户ID
UserName string // 用户账号
NickName string // 用户昵称
Password string // 登录密码
Mobile string // 手机号码
Avatar string // 用户头像地址
Status string // 用户状态;0:正常,1:停用
DeptId int64 // 部门id
Remark string // 备注
RoleIds []uint // 角色选中id列表
}
更新用户信息输入
type SysUserUpdateProfileInput ¶
type SysUserUpdateProfileInput struct {
UserId uint // 用户ID
NickName string // 用户昵称
Mobile string // 手机号码
}
用户修改个人信息输入
type SysUserUpdatePwdInput ¶
type SysUserUpdatePwdInput struct {
UserId uint // 用户ID
OldPassword string // 旧密码
NewPassword string // 新密码
}
用户修改个人密码输入