account.go 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. package models
  2. type Account struct {
  3. UserName string `json:"username" bson:"userName"`
  4. Platform string `json:"platform" bson:"platform"`
  5. Account string `json:"account" bson:"account"`
  6. Channel string `json:"channel" bson:"channel"`
  7. IsPremium bool `json:"isPremium" bson:"isPremium"`
  8. IsNew bool `json:"isNew" bson:"isNew"`
  9. LoginIp string `json:"loginIp" bson:"loginIp"`
  10. OpenId string `json:"openId" bson:"openId"`
  11. JoinIp string `json:"joinip" bson:"JoinIp"`
  12. JoinTime int64 `json:"jointime" bson:"JoinTime"`
  13. }
  14. type HomeData struct {
  15. Item ItemBasePack `json:"item"` //道具
  16. FirstItem FirstReward `json:"firstItem"` //首次登录奖励
  17. RocketLv RocketLvProgress `json:"rocketLvProgress"` //币安进度
  18. Dirty bool `json:"dirty" //是否关注tg`
  19. TotalIcorme int64 `json:"totalIcorme"`
  20. BtUserName string `json:"btUserName"` //机器人名字
  21. ChatIDName string `json:"chatIDName"` //频道名字
  22. Avatar string `json:"avatar"` //头像地址
  23. QuickLink string `json:"quickLink"` //快捷方式链接
  24. InviteStatus int `json:"inviteStatus"`
  25. }
  26. type RocketLvProgress struct {
  27. Max int `json:"max"`
  28. Cur int `json:"cur"`
  29. }