log_statistics.go 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package request
  2. import (
  3. "log-server/model/log"
  4. )
  5. type GetStatisticsLogRequest struct {
  6. log.StatisticsLog
  7. PageInfo
  8. OrderKey string `json:"orderKey"` // 排序
  9. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  10. }
  11. type GetStatisticsComputerRequest struct {
  12. log.LogComputer
  13. PageInfo
  14. OrderKey string `json:"orderKey"` // 排序
  15. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  16. }
  17. type OnlineComputerRequest struct {
  18. PcCode string `json:"pc_code"`
  19. Operator string `json:"operator"`
  20. }
  21. type TaskStatistics struct {
  22. GameId int `json:"game_id"`
  23. GameName string `json:"game_name"`
  24. GameIdXmy string `json:"game_id_xmy"`
  25. NewComplete int `json:"new_complete"`
  26. RetainedComplete int `json:"retained_complete"`
  27. PayComplete int `json:"pay_complete"`
  28. NewCompleteLocal int `json:"new_complete_local"`
  29. RetainedCompleteLocal int `json:"retained_complete_local"`
  30. PayCompleteLocal int `json:"pay_complete_local"`
  31. NewTarget int `json:"new_target"` // 目标新增
  32. RetainedTarget int `json:"retained_target"` // 目标留存
  33. PayTarget int `json:"pay_target"` // 目标付费
  34. OrderSuccessRate string `json:"order_success_rate"` // 订单成功率
  35. OrderSuccess int `json:"order_success"` //小绵羊成功付费数
  36. OrderCreate int `json:"order_create"` // 小绵羊创建付费订单数
  37. NewPullAccount int `json:"new_pull_account"`
  38. RetainedPullAccount int `json:"retained_pull_account"`
  39. NewScanningCode int `json:"new_scanning_code"`
  40. RetainedScanningCode int `json:"retained_scanning_code"`
  41. RetainedAccountNum int `json:"retained_account_num"` // 留存账号
  42. FeeAccountNum int `json:"fee_account_num"` // 付费账号
  43. Remark string `json:"remark"` //负责人
  44. GameRate string `json:"game_rate"` // 游戏效率
  45. }
  46. type TaskData struct {
  47. GameId int `json:"game_id"`
  48. NewPullAccount int `json:"new_pull_account"`
  49. RetainedPullAccount int `json:"retained_pull_account"`
  50. NewScanningCode int `json:"new_scanning_code"`
  51. RetainedScanningCode int `json:"retained_scanning_code"`
  52. RetainedAccountNum int `json:"retained_account_num"`
  53. FeeAccountNum int `json:"fee_account_num"`
  54. }
  55. type ExcelInfo struct {
  56. FileName string `json:"fileName"` // 文件名
  57. InfoList struct {
  58. log.LogComputer
  59. PageInfo
  60. OrderKey string `json:"orderKey"` // 排序
  61. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  62. } `json:"infoList"`
  63. }