log_statistics.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. //导出ip列表
  66. type ExcelIpInfo struct {
  67. FileName string `json:"fileName"` // 文件名
  68. InfoList struct {
  69. log.GameIpRequest
  70. PageInfo
  71. OrderKey string `json:"orderKey"` // 排序
  72. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  73. } `json:"infoList"`
  74. }
  75. type GetLogScanningCodeRequest struct {
  76. LogScanningRequest
  77. PageInfo
  78. OrderKey string `json:"orderKey"` // 排序
  79. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  80. }
  81. type LogScanningRequest struct {
  82. Id uint `json:"id"`
  83. Supplier string `json:"supplier"`
  84. OrderNum string `json:"order_num"`
  85. GameId int `json:"game_id"`
  86. LogUuid string `json:"log_uuid"`
  87. Status int `json:"status"` // 1成功2失败
  88. TaskType int `json:"task_type"`
  89. CreateDate string `json:"create_date"`
  90. CreateTime string `json:"create_time"` // 创建时间
  91. }
  92. type GetDeviceStatisticsRequest struct {
  93. log.DeviceStatistics
  94. PageInfo
  95. OrderKey string `json:"orderKey"` // 排序
  96. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  97. }
  98. type GetDeviceInfoLogRequest struct {
  99. log.DeviceLog
  100. PageInfo
  101. OrderKey string `json:"orderKey"` // 排序
  102. Desc bool `json:"desc"` // 排序方式:升序false(默认)|降序true
  103. }