|
@@ -4,22 +4,22 @@ package eventmodels
|
|
|
type UserUpdateInfoEventContent struct {
|
|
|
UserBasic
|
|
|
EventBasic
|
|
|
- UserName string `json:"user_name"` // 用户昵称
|
|
|
- TgId string `json:"tg_id"` // 绑定tgid
|
|
|
- XId string `json:"x_id"` // 绑定推特ID
|
|
|
- TonWall string `json:"ton_wall"` // 绑定钱包地址
|
|
|
- Fingerprint string `json:"fingerprint"` // 绑定指纹数据
|
|
|
- Email string `json:"email"` // 邮箱
|
|
|
- Mobile string `json:"mobile"` // 手机号
|
|
|
- Avatar string `json:"avatar"` // 头像
|
|
|
- Birthday string `json:"birthday"` // 生日
|
|
|
- Password string `json:"password"` // 账户密码 仅记录该操作,不记录内容
|
|
|
- Salt string `json:"salt"` // 密码盐 仅记录该操作,不记录内容
|
|
|
- IsLeader bool `json:"is_leader"` // 是否是社区长
|
|
|
- IsVip bool `json:"is_vip"` // 是否为VIP
|
|
|
- Level int `json:"level"` // 等级
|
|
|
- Exp int `json:"exp"` // 经验
|
|
|
- Gender int `json:"gender"` // 性别
|
|
|
+ UpdateUserName string `json:"update_user_name"` // 用户昵称
|
|
|
+ UpdateTgId string `json:"update_tg_id"` // 绑定tgid
|
|
|
+ UpdateXId string `json:"update_x_id"` // 绑定推特ID
|
|
|
+ UpdateTonWall string `json:"update_ton_wall"` // 绑定钱包地址
|
|
|
+ UpdateFingerprint string `json:"update_fingerprint"` // 绑定指纹数据
|
|
|
+ UpdateEmail string `json:"update_email"` // 邮箱
|
|
|
+ UpdateMobile string `json:"update_mobile"` // 手机号
|
|
|
+ UpdateAvatar string `json:"update_avatar"` // 头像
|
|
|
+ UpdateBirthday string `json:"update_birthday"` // 生日
|
|
|
+ UpdatePassword string `json:"update_password"` // 账户密码 仅记录该操作,不记录内容
|
|
|
+ UpdateSalt string `json:"update_salt"` // 密码盐 仅记录该操作,不记录内容
|
|
|
+ UpdateIsLeader bool `json:"update_is_leader"` // 是否是社区长
|
|
|
+ UpdateIsVip bool `json:"update_is_vip"` // 是否为VIP
|
|
|
+ UpdateLevel int `json:"update_level"` // 等级
|
|
|
+ UpdateExp int `json:"update_exp"` // 经验
|
|
|
+ UpdateGender int `json:"update_gender"` // 性别
|
|
|
}
|
|
|
|
|
|
func (e *UserUpdateInfoEventContent) EventName() string {
|