user_log_daily.go 1.8 KB

12345678910111213141516171819202122232425262728
  1. package entity
  2. type UserLogDailyResp struct {
  3. Platform string `bson:"platform" json:"platform"` // platform: 用户所在的平台,例如“Android”或“IOS”
  4. Channel string `bson:"channel" json:"channel"` // channel: 用户来源渠道
  5. Registered int `bson:"registered" json:"registered"` // registered: 新用户注册的数量
  6. LoggedIn int `bson:"logged_in" json:"logged_in"` // logged_in: 登陆产品的用户数量
  7. NewLogin int `bson:"new_login" json:"new_login"` // new_login: 登陆产品的新注册用户数量
  8. OldLogin int `bson:"old_login" json:"old_login"` // old_login: 登陆产品的老用户数量
  9. ActiveUsers int `bson:"active_users" json:"active_users"` // active_users: 登录游戏后投掷过骰子的用户数量
  10. NewActive int `bson:"new_active" json:"new_active"` // new_active: 登录游戏后投掷过骰子的新用户数量
  11. OldActive int `bson:"old_active" json:"old_active"` // old_active: 登录游戏后投掷过骰子的老用户数量
  12. TotalPoints int `bson:"total_points" json:"total_points"` // total_points: 全服积分产出总值
  13. UProduced float64 `bson:"u_produced" json:"u_produced"` // u_produced: 全服U的产出总值
  14. UCashout float64 `bson:"u_cashout" json:"u_cashout"` // u_cashout: 全服U的提现总值
  15. Timestamp int64 `bson:"daily" json:"timestamp"` // timestamp: 数据记录的时间戳
  16. }
  17. // UserLogDailyReq 用户日志
  18. type UserLogDailyReq struct {
  19. Platform string `json:"platform"`
  20. StartTime int64 `json:"start_time"`
  21. EndTime int64 `json:"end_time"`
  22. Channel string `json:"channel"`
  23. Page int `json:"page"`
  24. Size int `json:"size"`
  25. Total int64 `json:"total"`
  26. }