来源:hgdjnet-server 9bfbafe10d417deea959bd53117bc88a10e60a83 项目身份 HKDJ / JHA-216,独立官网仓库,Jenkins 守卫键 hkdjnet 测试目录 /server/hkdj_net,App/Web API 30331/30332 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
33 lines
675 B
Go
33 lines
675 B
Go
package srv_mwacc
|
|
|
|
type AccUpDoc struct {
|
|
// 账号Id
|
|
Id int64 `json:"id,omitempty"`
|
|
// 用户名
|
|
UserName string `json:"user_name,omitempty"`
|
|
// 账号
|
|
Acc string `json:"acc,omitempty"`
|
|
// // 密码
|
|
// Pwd string `json:"pwd,omitempty"`
|
|
// 邮箱
|
|
Email string `json:"email,omitempty"`
|
|
// 角色Id
|
|
RoleId int64 `json:"role_id,omitempty"`
|
|
// 使能
|
|
IsEnb bool `json:"is_enb,omitempty"`
|
|
// 允许访问的IP
|
|
LimitIP []string `json:"limitIP,omitempty"`
|
|
}
|
|
|
|
type ProductAccountInfo struct {
|
|
Id int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
}
|
|
|
|
type AccUpPwdDoc struct {
|
|
// 账号Id
|
|
Id int64 `json:"id,omitempty"`
|
|
// 密码
|
|
Pwd string `json:"pwd,omitempty"`
|
|
}
|