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

153 lines
7.7 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. }
  110. type FinanceCenterDataAgentDetail struct {
  111. TimeStr string `json:"time_str" example:"业务时间"`
  112. Name string `json:"name" example:"媒体名称"`
  113. Account string `json:"account" example:"媒体账号"`
  114. Source string `json:"source" example:"结算标示"`
  115. SettleFile string `json:"settle_file" example:"结算单"`
  116. Invoice Invoice `json:"invoice"`
  117. AllIncome string `json:"all_income" example:"合计收益"`
  118. Income string `json:"income" example:"渠道结算"`
  119. OtherIncome string `json:"other_income" example:"其他调整"`
  120. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  121. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  122. }
  123. type Invoice struct {
  124. Type string `json:"type"`
  125. Time string `json:"time"`
  126. Count string `json:"count"`
  127. File []InvoiceFile `json:"file"`
  128. }
  129. type InvoiceFile struct {
  130. Url string `json:"url"`
  131. State string `json:"state" example:"0待确认 1审核通过 2审核失败"`
  132. }
  133. type SettleFileReq struct {
  134. Id string `json:"id" example:"列表id"`
  135. File string `json:"file" example:"七牛云链接 带http"`
  136. }
  137. type InvoiceReq struct {
  138. Id string `json:"id" example:"列表id"`
  139. State string `json:"state" example:"1审核通过 2审核失败"`
  140. File []InvoiceFile `json:"file" `
  141. }
  142. type OtherIncomeReq struct {
  143. Id string `json:"id" example:"列表id"`
  144. Amount string `json:"amount" example:"其他收益"`
  145. }