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"`
|
|
}
|