userUpdateInfoEvent.go 1.3 KB

123456789101112131415161718192021222324252627
  1. package eventmodels
  2. // 用户信息更新事件
  3. type UserUpdateInfoEventContent struct {
  4. UserBasic
  5. EventBasic
  6. UpdateUserName string `json:"update_user_name"` // 用户昵称
  7. UpdateTgId string `json:"update_tg_id"` // 绑定tgid
  8. UpdateXId string `json:"update_x_id"` // 绑定推特ID
  9. UpdateTonWall string `json:"update_ton_wall"` // 绑定钱包地址
  10. UpdateFingerprint string `json:"update_fingerprint"` // 绑定指纹数据
  11. UpdateEmail string `json:"update_email"` // 邮箱
  12. UpdateMobile string `json:"update_mobile"` // 手机号
  13. UpdateAvatar string `json:"update_avatar"` // 头像
  14. UpdateBirthday string `json:"update_birthday"` // 生日
  15. UpdatePassword string `json:"update_password"` // 账户密码 仅记录该操作,不记录内容
  16. UpdateSalt string `json:"update_salt"` // 密码盐 仅记录该操作,不记录内容
  17. UpdateIsLeader bool `json:"update_is_leader"` // 是否是社区长
  18. UpdateIsVip bool `json:"update_is_vip"` // 是否为VIP
  19. UpdateLevel int `json:"update_level"` // 等级
  20. UpdateExp int `json:"update_exp"` // 经验
  21. UpdateGender int `json:"update_gender"` // 性别
  22. }
  23. func (e *UserUpdateInfoEventContent) EventName() string {
  24. return "UserUpdateInfo"
  25. }