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

155 lines
7.8 KiB

  1. package md
  2. type FinanceCenterPlatformDataReq struct {
  3. Limit string `json:"limit"`
  4. Page string `json:"page" `
  5. Date string `json:"date" example:"2024-08-29"`
  6. StartTime string `json:"start_time" example:"2024-08-29"`
  7. EndTime string `json:"end_time" `
  8. }
  9. type FinanceCenterPlatformDataRes struct {
  10. List []FinanceCenterPlatformDataData `json:"list" `
  11. Total int64 `json:"total"`
  12. }
  13. type FinanceCenterPlatformDataData struct {
  14. Id string `json:"id"`
  15. TimeStr string `json:"time_str" example:"业务时间"`
  16. TopIncome string `json:"top_income" example:"上游结算"`
  17. CommissionIncome string `json:"commission_income" example:"佣金留存"`
  18. PlatformIncome string `json:"platform_income" example:"平台留存"`
  19. ChangeIncome string `json:"change_income" example:"调价留存"`
  20. MediumIncome string `json:"medium_income" example:"媒体结算"`
  21. AgentIncome string `json:"agent_income" example:"代理结算"`
  22. UpdateAt string `json:"update_at" example:"更新时间"`
  23. }
  24. type FinanceCenterDataReq struct {
  25. Limit string `json:"limit"`
  26. Page string `json:"page" `
  27. PayState string `json:"pay_state" example:"读 settle_pay_state返回的"`
  28. StartTime string `json:"start_time" example:"2024-08-29"`
  29. EndTime string `json:"end_time" `
  30. }
  31. type FinanceCenterDataRes struct {
  32. List []FinanceCenterDataData `json:"list" `
  33. Total int64 `json:"total"`
  34. BusinessKind []SelectData `json:"business_kind"`
  35. SettlePayState []SelectData `json:"settle_pay_state"`
  36. SettleState []SelectData `json:"settle_state"`
  37. SettleType []SelectData `json:"settle_type"`
  38. }
  39. type FinanceCenterDataData struct {
  40. Id string `json:"id"`
  41. TimeStr string `json:"time_str" example:"业务时间"`
  42. Name string `json:"name" example:"媒体名称"`
  43. SettleType string `json:"settle_type" example:"结算单类型(1:日结 2:周结 3:月结 4:预付)"`
  44. AllIncome string `json:"all_income" example:"合计收益"`
  45. TopIncome string `json:"top_income" example:"上游结算"`
  46. CommissionIncome string `json:"commission_income" example:"佣金留存"`
  47. PlatformIncome string `json:"platform_income" example:"平台留存"`
  48. ChangeIncome string `json:"change_income" example:"调价留存"`
  49. MediumIncome string `json:"medium_income" example:"媒体结算"`
  50. OtherIncome string `json:"other_income" example:"其他调整"`
  51. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  52. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  53. Label string `json:"label"`
  54. }
  55. type FinanceCenterDataAgentRes struct {
  56. List []FinanceCenterDataAgentData `json:"list" `
  57. Total int64 `json:"total"`
  58. BusinessKind []SelectData `json:"business_kind"`
  59. SettlePayState []SelectData `json:"settle_pay_state"`
  60. SettleState []SelectData `json:"settle_state"`
  61. SettleType []SelectData `json:"settle_type"`
  62. }
  63. type FinanceCenterDataAgentData struct {
  64. Id string `json:"id"`
  65. TimeStr string `json:"time_str" example:"业务时间"`
  66. Name string `json:"name" example:"媒体名称"`
  67. SettleType string `json:"settle_type" example:"结算单类型(1:日结 2:周结 3:月结 4:预付)"`
  68. AllIncome string `json:"all_income" example:"合计收益"`
  69. Income string `json:"income" example:"渠道结算"`
  70. OtherIncome string `json:"other_income" example:"其他调整"`
  71. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  72. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  73. Label string `json:"label"`
  74. }
  75. type FinanceCenterDataDetailRes struct {
  76. Data FinanceCenterDataDetail `json:"data" `
  77. BusinessKind []SelectData `json:"business_kind"`
  78. SettlePayState []SelectData `json:"settle_pay_state"`
  79. SettleState []SelectData `json:"settle_state"`
  80. SettleType []SelectData `json:"settle_type"`
  81. InvoiceCate []SelectData `json:"invoice_cate"`
  82. InvoiceState []SelectData `json:"invoice_state"`
  83. }
  84. type FinanceCenterDataAgentDetailRes struct {
  85. Data FinanceCenterDataAgentDetail `json:"data" `
  86. BusinessKind []SelectData `json:"business_kind"`
  87. SettlePayState []SelectData `json:"settle_pay_state"`
  88. SettleState []SelectData `json:"settle_state"`
  89. SettleType []SelectData `json:"settle_type"`
  90. InvoiceCate []SelectData `json:"invoice_cate"`
  91. InvoiceState []SelectData `json:"invoice_state"`
  92. }
  93. type FinanceCenterDataDetail struct {
  94. TimeStr string `json:"time_str" example:"业务时间"`
  95. Name string `json:"name" example:"媒体名称"`
  96. Account string `json:"account" example:"媒体账号"`
  97. Source string `json:"source" example:"结算标示"`
  98. SettleFile string `json:"settle_file" example:"结算单"`
  99. Invoice Invoice `json:"invoice"`
  100. AllIncome string `json:"all_income" example:"合计收益"`
  101. TopIncome string `json:"top_income" example:"上游结算"`
  102. CommissionIncome string `json:"commission_income" example:"佣金留存"`
  103. PlatformIncome string `json:"platform_income" example:"平台留存"`
  104. ChangeIncome string `json:"change_income" example:"调价留存"`
  105. MediumIncome string `json:"medium_income" example:"媒体结算"`
  106. OtherIncome string `json:"other_income" example:"其他调整"`
  107. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  108. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  109. DownUrl string `json:"down_url"`
  110. }
  111. type FinanceCenterDataAgentDetail struct {
  112. TimeStr string `json:"time_str" example:"业务时间"`
  113. Name string `json:"name" example:"媒体名称"`
  114. Account string `json:"account" example:"媒体账号"`
  115. Source string `json:"source" example:"结算标示"`
  116. SettleFile string `json:"settle_file" example:"结算单"`
  117. Invoice Invoice `json:"invoice"`
  118. AllIncome string `json:"all_income" example:"合计收益"`
  119. Income string `json:"income" example:"渠道结算"`
  120. OtherIncome string `json:"other_income" example:"其他调整"`
  121. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  122. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  123. DownUrl string `json:"down_url"`
  124. }
  125. type Invoice struct {
  126. Type string `json:"type"`
  127. Time string `json:"time"`
  128. Count string `json:"count"`
  129. File []InvoiceFile `json:"file"`
  130. }
  131. type InvoiceFile struct {
  132. Url string `json:"url"`
  133. State string `json:"state" example:"0待确认 1审核通过 2审核失败"`
  134. }
  135. type SettleFileReq struct {
  136. Id string `json:"id" example:"列表id"`
  137. File string `json:"file" example:"七牛云链接 带http"`
  138. }
  139. type InvoiceReq struct {
  140. Id string `json:"id" example:"列表id"`
  141. State string `json:"state" example:"1审核通过 2审核失败"`
  142. File []InvoiceFile `json:"file" `
  143. }
  144. type OtherIncomeReq struct {
  145. Id string `json:"id" example:"列表id"`
  146. Amount string `json:"amount" example:"其他收益"`
  147. }