log_statistics.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. package request
  2. import (
  3. "log-server/model/log"
  4. )
  5. type GetStatisticsLogRequest struct {
  6. log.StatisticsLog
  7. PageInfo
  8. GamePortId int `json:"game_port_id"`
  9. OrderKey string `json:"orderKey"` // 排序
  10. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  11. }
  12. type GetStatisticsComputerRequest struct {
  13. log.LogComputer
  14. PageInfo
  15. OrderKey string `json:"orderKey"` // 排序
  16. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  17. }
  18. type OnlineComputerRequest struct {
  19. PcCode string `json:"pc_code"`
  20. Operator string `json:"operator"`
  21. }
  22. type SupConErrRequest struct {
  23. PcCode string `json:"pc_code"`
  24. Describe string `json:"describe"`
  25. }
  26. type TaskStatistics struct {
  27. GameId int `json:"game_id"`
  28. GameName string `json:"game_name"`
  29. GameIdXmy string `json:"game_id_xmy"`
  30. NewComplete int `json:"new_complete"`
  31. RetainedComplete int `json:"retained_complete"`
  32. PayComplete int `json:"pay_complete"`
  33. NewCompleteLocal int `json:"new_complete_local"`
  34. RetainedCompleteLocal int `json:"retained_complete_local"`
  35. PayCompleteLocal int `json:"pay_complete_local"`
  36. NewTarget int `json:"new_target"` // 目标新增
  37. RetainedTarget int `json:"retained_target"` // 目标留存
  38. PayTarget int `json:"pay_target"` // 目标付费
  39. OrderSuccessRate string `json:"order_success_rate"` // 订单成功率
  40. OrderSuccess int `json:"order_success"` //小绵羊成功付费数
  41. OrderCreate int `json:"order_create"` // 小绵羊创建付费订单数
  42. NewPullAccount int `json:"new_pull_account"`
  43. RetainedPullAccount int `json:"retained_pull_account"`
  44. NewScanningCode int `json:"new_scanning_code"`
  45. RetainedScanningCode int `json:"retained_scanning_code"`
  46. RetainedAccountNum int `json:"retained_account_num"` // 留存账号
  47. FeeAccountNum int `json:"fee_account_num"` // 付费账号
  48. Remark string `json:"remark"` //负责人
  49. GameRate string `json:"game_rate"` // 游戏效率
  50. }
  51. type TaskData struct {
  52. GameId int `json:"game_id"`
  53. NewPullAccount int `json:"new_pull_account"`
  54. RetainedPullAccount int `json:"retained_pull_account"`
  55. NewScanningCode int `json:"new_scanning_code"`
  56. RetainedScanningCode int `json:"retained_scanning_code"`
  57. RetainedAccountNum int `json:"retained_account_num"`
  58. FeeAccountNum int `json:"fee_account_num"`
  59. }
  60. type ExcelInfo struct {
  61. FileName string `json:"fileName"` // 文件名
  62. InfoList struct {
  63. log.LogComputer
  64. PageInfo
  65. OrderKey string `json:"orderKey"` // 排序
  66. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  67. } `json:"infoList"`
  68. }
  69. type ExcelDeviceErrRate struct {
  70. FileName string `json:"fileName"` // 文件名
  71. InfoList struct {
  72. log.DeviceStatisticsReply
  73. PageInfo
  74. OrderKey string `json:"orderKey"` // 排序
  75. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  76. } `json:"infoList"`
  77. }
  78. //导出ip列表
  79. type ExcelIpInfo struct {
  80. FileName string `json:"fileName"` // 文件名
  81. InfoList struct {
  82. log.GameIpRequest
  83. PageInfo
  84. OrderKey string `json:"orderKey"` // 排序
  85. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  86. } `json:"infoList"`
  87. }
  88. type GetLogScanningCodeRequest struct {
  89. LogScanningRequest
  90. PageInfo
  91. OrderKey string `json:"orderKey"` // 排序
  92. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  93. }
  94. type LogScanningRequest struct {
  95. Id uint `json:"id"`
  96. Supplier string `json:"supplier"`
  97. OrderNum string `json:"order_num"`
  98. GameId int `json:"game_id"`
  99. LogUuid string `json:"log_uuid"`
  100. Status int `json:"status"` // 1成功2失败
  101. TaskType int `json:"task_type"`
  102. CreateDate string `json:"create_date"`
  103. CreateTime string `json:"create_time"` // 创建时间
  104. }
  105. type GetDeviceStatisticsRequest struct {
  106. log.DeviceStatisticsReply
  107. PageInfo
  108. OrderKey string `json:"orderKey"` // 排序
  109. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  110. }
  111. type GetDeviceInfoLogRequest struct {
  112. log.DeviceLog
  113. PageInfo
  114. OrderKey string `json:"orderKey"` // 排序
  115. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  116. }
  117. type GetDeviceIdErrRequest struct {
  118. log.ScriptDeviceErr
  119. PageInfo
  120. OrderKey string `json:"orderKey"` // 排序
  121. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  122. }