log_statistics.go 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. }
  64. type GetLogScanningCodeRequest struct {
  65. LogScanningRequest
  66. PageInfo
  67. OrderKey string `json:"orderKey"` // 排序
  68. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  69. }
  70. type LogScanningRequest struct {
  71. Id uint `json:"id"`
  72. Supplier string `json:"supplier"`
  73. OrderNum string `json:"order_num"`
  74. GameId int `json:"game_id"`
  75. LogUuid string `json:"log_uuid"`
  76. Status int `json:"status"` // 1成功2失败
  77. TaskType int `json:"task_type"`
  78. CreateDate string `json:"create_date"`
  79. CreateTime string `json:"create_time"` // 创建时间
  80. }