log_statistics.go 4.5 KB

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