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

3 months ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package md
  2. type DivisionStrategyReq struct {
  3. Limit string `json:"limit"`
  4. Page string `json:"page" `
  5. Name string `json:"name"`
  6. }
  7. type DivisionStrategyRes struct {
  8. List []DivisionStrategyData `json:"list" `
  9. Total int64 `json:"total"`
  10. }
  11. type DivisionStrategyData struct {
  12. Id string `json:"id" example:"id"`
  13. MediumId string `json:"medium_id" example:"媒体id"`
  14. Account string `json:"account" example:"账号"`
  15. Name string `json:"name" example:"名称"`
  16. PlatformRetentionRate string `json:"platform_retention_rate" example:"平台留存百分比"`
  17. CommissionRetentionRate string `json:"commission_retention_rate" example:"佣金留存百分比"`
  18. MediaRevenueRate string `json:"media_revenue_rate" example:"媒体收益百分比"`
  19. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  20. ExtraRevenueRate string `json:"extra_revenue_rate" example:"额外收益百分比"`
  21. AgreementSharingRate string `json:"agreement_sharing_rate" example:"协议分成百分比"`
  22. }
  23. type DivisionStrategyDetailReq struct {
  24. MediumId string `json:"medium_id"`
  25. }
  26. type DivisionStrategyDetailRes struct {
  27. MediumId string `json:"medium_id" example:"媒体id"`
  28. Account string `json:"account" example:"账号"`
  29. Name string `json:"name" example:"名称"`
  30. PlatformRetentionRate string `json:"platform_retention_rate" example:"平台留存百分比"`
  31. CommissionRetentionRate string `json:"commission_retention_rate" example:"佣金留存百分比"`
  32. MediaRevenueRate string `json:"media_revenue_rate" example:"媒体收益百分比"`
  33. AgentRevenueRate string `json:"agent_revenue_rate" example:"代理收益百分比"`
  34. ExtraRevenueRate string `json:"extra_revenue_rate" example:"额外收益百分比"`
  35. AgreementSharingRate string `json:"agreement_sharing_rate" example:"协议分成百分比"`
  36. AgentList []DivisionStrategyDetailByAgent `json:"agent_list"`
  37. }
  38. type DivisionStrategyDetailByAgent struct {
  39. AgentId string `json:"agent_id" example:"代理id"`
  40. Account string `json:"account" example:"账号"`
  41. Name string `json:"name" example:"名称"`
  42. AgentRevenueRate string `json:"agent_revenue_rate" example:"佣金比例"`
  43. ExtraRevenueRate string `json:"extra_revenue_rate" example:"额外奖励"`
  44. }