log_statistics.go 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. CompleteNum string `json:"complete_num"` //"complete_num": "12/21/3", 小绵羊数据
  51. CompleteLocalNum string `json:"complete_local_num"` //"complete_local_num": "3/18/0",群控数据
  52. }
  53. type TaskData struct {
  54. GameId int `json:"game_id"`
  55. NewPullAccount int `json:"new_pull_account"`
  56. RetainedPullAccount int `json:"retained_pull_account"`
  57. NewScanningCode int `json:"new_scanning_code"`
  58. RetainedScanningCode int `json:"retained_scanning_code"`
  59. RetainedAccountNum int `json:"retained_account_num"`
  60. FeeAccountNum int `json:"fee_account_num"`
  61. }
  62. type ExcelInfo struct {
  63. FileName string `json:"fileName"` // 文件名
  64. InfoList struct {
  65. log.LogComputer
  66. PageInfo
  67. OrderKey string `json:"orderKey"` // 排序
  68. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  69. } `json:"infoList"`
  70. }
  71. type ExcelDeviceErrRate struct {
  72. FileName string `json:"fileName"` // 文件名
  73. InfoList struct {
  74. log.DeviceStatisticsReply
  75. PageInfo
  76. OrderKey string `json:"orderKey"` // 排序
  77. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  78. } `json:"infoList"`
  79. }
  80. //导出ip列表
  81. type ExcelIpInfo struct {
  82. FileName string `json:"fileName"` // 文件名
  83. InfoList struct {
  84. log.GameIpRequest
  85. PageInfo
  86. OrderKey string `json:"orderKey"` // 排序
  87. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  88. } `json:"infoList"`
  89. }
  90. type GetLogScanningCodeRequest struct {
  91. LogScanningRequest
  92. PageInfo
  93. OrderKey string `json:"orderKey"` // 排序
  94. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  95. }
  96. type LogScanningRequest struct {
  97. Id uint `json:"id"`
  98. Supplier string `json:"supplier"`
  99. OrderNum string `json:"order_num"`
  100. GameId int `json:"game_id"`
  101. LogUuid string `json:"log_uuid"`
  102. Status int `json:"status"` // 1成功2失败
  103. TaskType int `json:"task_type"`
  104. CreateDate string `json:"create_date"`
  105. CreateTime string `json:"create_time"` // 创建时间
  106. }
  107. type GetDeviceStatisticsRequest struct {
  108. log.DeviceStatisticsReply
  109. PageInfo
  110. OrderKey string `json:"orderKey"` // 排序
  111. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  112. }
  113. type GetDeviceInfoLogRequest struct {
  114. log.DeviceLog
  115. PageInfo
  116. OrderKey string `json:"orderKey"` // 排序
  117. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  118. }
  119. type GetDeviceIdErrRequest struct {
  120. log.ScriptDeviceErr
  121. PageInfo
  122. OrderKey string `json:"orderKey"` // 排序
  123. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  124. }