data.go 940 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package video
  2. const dateFormat = "2006-01-02"
  3. type req_base struct {
  4. BeginTime string
  5. EndTime string
  6. PartnerID int
  7. }
  8. // 播放统计
  9. type playStatInfo struct {
  10. DateFlag string // 日期
  11. ReqTimes int // 请求次数
  12. PlayTimes int // 播放次数
  13. FailTimes int // 失败次数
  14. }
  15. // 播放来源
  16. type sourceInfo struct {
  17. DateFlag string // 日期
  18. VideoName string // 视频名称
  19. PlayTimes int // 播放次数
  20. }
  21. // 播放指标
  22. type indexInfo struct {
  23. DateFlag string // 日期
  24. ReqTimes int // 请求次数
  25. PlayTimes int // 播放次数
  26. UserCount int // 用户数
  27. PlayUserCount int // 播放用户数
  28. GoldTimes int // 金币次数
  29. GoldGiftTimes int // 领取金币次数
  30. }
  31. // 播放用户统计
  32. type userStatInfo struct {
  33. DateFlag string // 日期
  34. ReqUsers int // 请求用户数
  35. PlayUsers int // 播放用户数
  36. FailUsers int // 失败用户数
  37. }