广告平台(站长使用)
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.
 
 
 
 
 

121 lines
7.2 KiB

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