user_country_count.go 891 B

1234567891011121314151617
  1. package entity
  2. type UserCountryResp struct {
  3. Country string `json:"country"` // 国家
  4. IPCount int `json:"ip_count"` // IP数量
  5. Percentage float64 `json:"percentage"` // 百分比
  6. }
  7. type UserCountryReq struct {
  8. }
  9. type PlayerCountryStat struct {
  10. Daily int64 `bson:"daily" json:"daily"` // 日期
  11. Platform string `bson:"platform" json:"platform"` // platform: 用户所在的平台,例如“Android”或“IOS”
  12. Channel string `bson:"channel" json:"channel"` // channel: 用户来源渠道
  13. PlayerRegisterCountry map[string]int `bson:"playerRegisterCountry" json:"playerRegisterCountry"` // playerRegisterCountry 玩家注册国家
  14. UpdateTime int64 `bson:"updateTime" json:"updateTime"`
  15. }