广告平台(站长使用)
25개 이상의 토픽을 선택하실 수 없습니다. 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 6.9 KiB

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