PlayerStat.go 480 B

123456789101112
  1. package models
  2. type PlayerLevelStat struct {
  3. Platform string `bson:"platform" json:"platform"` // platform: 用户所在的平台,例如“Android”或“IOS”
  4. Channel string `bson:"channel" json:"channel"` // channel: 用户来源渠道
  5. ServerLevel map[string]int `json:"serverLevel" bson:"serverLevel"`
  6. }
  7. type PlayerServerLoadStat struct {
  8. Name string `bson:"name" json:"name"`
  9. Load map[string]string `bson:"load" json:"load"`
  10. }