广告平台(站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_data_center_generate_data.go 7.2 KiB

2 months ago
3 weeks ago
3 weeks ago
2 months ago
3 weeks ago
2 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. package md
  2. type DataCenterGenerateDataReq struct {
  3. Limit string `json:"limit"`
  4. Page string `json:"page" `
  5. Name string `json:"name"`
  6. State string `json:"state"`
  7. Platform string `json:"platform"`
  8. StartTime string `json:"start_time"`
  9. EndTime string `json:"end_time"`
  10. AppId string `json:"app_id"`
  11. AdType string `json:"ad_type"`
  12. }
  13. type DataCenterGenerateDataForOpenReq struct {
  14. Limit string `json:"limit"`
  15. Page string `json:"page" `
  16. MediumId string `json:"medium_id" binding:"required"` //媒体id
  17. StartTime string `json:"start_time"`
  18. EndTime string `json:"end_time"`
  19. }
  20. type DataCenterGenerateDataRes struct {
  21. List []DataCenterGenerateDataData `json:"list" `
  22. Total int64 `json:"total"`
  23. State []SelectData `json:"state"`
  24. Platform []SelectData `json:"platform"`
  25. }
  26. type DataCenterGenerateDataData struct {
  27. Id string `json:"id" example:"id"`
  28. Date string `json:"date" example:"日期"`
  29. Name string `json:"name" example:"名称"`
  30. Platform string `json:"platform" example:"平台名称"`
  31. AdvName string `json:"adv_name" example:"广告位"`
  32. State string `json:"state" example:"状态id"`
  33. OldExposureCount string `json:"old_exposure_count" example:"原-曝光量"`
  34. OldClickCount string `json:"old_click_count" example:"原-点击量"`
  35. OldClickRate string `json:"old_click_rate" example:"原-点击率"`
  36. OldEcpm string `json:"old_ecpm" example:"'原-ecpm(元)"`
  37. ExposureCount string `json:"exposure_count" example:"现-曝光量"`
  38. ClickCount string `json:"click_count" example:"现-点击量"`
  39. ClickRate string `json:"click_rate" example:"现-点击率"`
  40. Ecpm string `json:"ecpm" example:"'现-ecpm(元)"`
  41. PlatformRetention string `json:"platform_retention" example:"平台留存(元)"`
  42. CommissionRetention string `json:"commission_retention" example:"佣金留存(元)"`
  43. PriceAdjustmentRetention string `json:"price_adjustment_retention" example:"调价留存(元)"`
  44. MediaRevenue string `json:"media_revenue" example:"媒体收益(元)"`
  45. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  46. ExtraRevenue string `json:"extra_revenue" example:"额外收益(元)"`
  47. AgreementSharing string `json:"agreement_sharing" example:"协议分成(元)"`
  48. AgreementSharingTotal string `json:"agreement_sharing_total" example:"协议总分成(元)"`
  49. IsGenerateReport string `json:"is_generate_report" example:"是否已生成报表(0:未 1:已)"`
  50. }
  51. type DataCenterIncomeDataRes struct {
  52. List []DataCenterIncomeDataData `json:"list" `
  53. Total int64 `json:"total"`
  54. State []SelectData `json:"state"`
  55. Platform []SelectData `json:"platform"`
  56. }
  57. type DataCenterIncomeDataData struct {
  58. Id string `json:"id" example:"id"`
  59. Date string `json:"date" example:"日期"`
  60. Name string `json:"name" example:"名称"`
  61. Platform string `json:"platform" example:"平台名称"`
  62. AdvName string `json:"adv_name" example:"广告位"`
  63. State string `json:"state" example:"状态id"`
  64. ExposureCount string `json:"exposure_count" example:"现-曝光量"`
  65. ClickCount string `json:"click_count" example:"现-点击量"`
  66. ClickRate string `json:"click_rate" example:"现-点击率"`
  67. Ecpm string `json:"ecpm" example:"'现-ecpm(元)"`
  68. MediaRevenue string `json:"media_revenue" example:"媒体收益(元)"`
  69. AgreementSharing string `json:"agreement_sharing" example:"平台收益(元)"`
  70. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  71. SettleAmount string `json:"settle_amount" example:"结算收益(元)"`
  72. }
  73. type DataCenterIncomeDataDetail struct {
  74. Platform string `json:"platform" example:"填充来源"`
  75. MediaRevenue string `json:"media_revenue" example:"媒体收益(元)"`
  76. MediaRevenueRate string `json:"media_revenue_rate" example:"媒体收益百分比"`
  77. AgreementSharingRate string `json:"agreement_sharing_rate" example:"平台收益百分比"`
  78. AgreementSharing string `json:"agreement_sharing" example:"平台收益(元)"`
  79. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  80. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  81. DataSource string `json:"data_source" example:"数据来源"`
  82. MediumName string `json:"medium_name" example:"媒体名称"`
  83. CreateAt string `json:"create_at"`
  84. UpdateAt string `json:"update_at"`
  85. AgentReward []DataCenterGenerateDataDetailAgentRewardSecond `json:"agent_reward"`
  86. }
  87. type DataCenterGenerateDataCommReq struct {
  88. Id string `json:"id" example:"列表id"`
  89. }
  90. type DataCenterGenerateDataDetailData struct {
  91. PlatformRetentionRate string `json:"platform_retention_rate" example:"平台留存百分比"`
  92. CommissionRetentionRate string `json:"commission_retention_rate" example:"佣金留存百分比"`
  93. MediaRevenueRate string `json:"media_revenue_rate" example:"媒体收益百分比"`
  94. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  95. ExtraRevenueRate string `json:"extra_revenue_rate" example:"额外收益百分比"`
  96. AgreementSharingRate string `json:"agreement_sharing_rate" example:"协议分成百分比"`
  97. CreateAt string `json:"create_at" `
  98. UpdateAt string `json:"update_at" `
  99. AgentReward []DataCenterGenerateDataDetailAgentReward `json:"agent_reward"`
  100. }
  101. type DataCenterGenerateDataDetailAgentReward struct {
  102. Name string `json:"name"`
  103. Account string `json:"account"`
  104. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  105. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  106. ExtraRevenue string `json:"extra_revenue" example:"额外收益(元)"`
  107. ExtraRevenueRate string `json:"extra_revenue_rate" example:"'额外收益百分比"`
  108. }
  109. type DataCenterGenerateDataDetailAgentRewardSecond struct {
  110. Name string `json:"name"`
  111. Account string `json:"account"`
  112. AgentRevenue string `json:"agent_revenue" example:"代理收益(元)"`
  113. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  114. }