log_statistics.go 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. }
  45. type TaskData struct {
  46. GameId int `json:"game_id"`
  47. NewPullAccount int `json:"new_pull_account"`
  48. RetainedPullAccount int `json:"retained_pull_account"`
  49. NewScanningCode int `json:"new_scanning_code"`
  50. RetainedScanningCode int `json:"retained_scanning_code"`
  51. RetainedAccountNum int `json:"retained_account_num"`
  52. FeeAccountNum int `json:"fee_account_num"`
  53. }
  54. type ExcelInfo struct {
  55. FileName string `json:"fileName"` // 文件名
  56. InfoList struct {
  57. log.LogComputer
  58. PageInfo
  59. OrderKey string `json:"orderKey"` // 排序
  60. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  61. } `json:"infoList"`
  62. }