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

2 months ago
2 months ago
2 months ago
1 week ago
2 months ago
2 months ago
2 months ago
1 week ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
1 week ago
2 months ago
2 months ago
1 week ago
2 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. Account string `json:"account"`
  44. SettleType string `json:"settle_type" example:"结算单类型(1:日结 2:周结 3:月结 4:预付)"`
  45. AllIncome string `json:"all_income" example:"合计收益"`
  46. TopIncome string `json:"top_income" example:"上游结算"`
  47. CommissionIncome string `json:"commission_income" example:"佣金留存"`
  48. PlatformIncome string `json:"platform_income" example:"平台留存"`
  49. ChangeIncome string `json:"change_income" example:"调价留存"`
  50. MediumIncome string `json:"medium_income" example:"媒体结算"`
  51. OtherIncome string `json:"other_income" example:"其他调整"`
  52. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  53. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  54. Label string `json:"label"`
  55. }
  56. type FinanceCenterDataAgentRes struct {
  57. List []FinanceCenterDataAgentData `json:"list" `
  58. Total int64 `json:"total"`
  59. BusinessKind []SelectData `json:"business_kind"`
  60. SettlePayState []SelectData `json:"settle_pay_state"`
  61. SettleState []SelectData `json:"settle_state"`
  62. SettleType []SelectData `json:"settle_type"`
  63. }
  64. type FinanceCenterDataAgentData struct {
  65. Id string `json:"id"`
  66. TimeStr string `json:"time_str" example:"业务时间"`
  67. Account string `json:"account"`
  68. Name string `json:"name" example:"媒体名称"`
  69. SettleType string `json:"settle_type" example:"结算单类型(1:日结 2:周结 3:月结 4:预付)"`
  70. AllIncome string `json:"all_income" example:"合计收益"`
  71. Income string `json:"income" example:"渠道结算"`
  72. OtherIncome string `json:"other_income" example:"其他调整"`
  73. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  74. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  75. Label string `json:"label"`
  76. }
  77. type FinanceCenterDataDetailRes struct {
  78. Data FinanceCenterDataDetail `json:"data" `
  79. BusinessKind []SelectData `json:"business_kind"`
  80. SettlePayState []SelectData `json:"settle_pay_state"`
  81. SettleState []SelectData `json:"settle_state"`
  82. SettleType []SelectData `json:"settle_type"`
  83. InvoiceCate []SelectData `json:"invoice_cate"`
  84. InvoiceState []SelectData `json:"invoice_state"`
  85. }
  86. type FinanceCenterDataAgentDetailRes struct {
  87. Data FinanceCenterDataAgentDetail `json:"data" `
  88. BusinessKind []SelectData `json:"business_kind"`
  89. SettlePayState []SelectData `json:"settle_pay_state"`
  90. SettleState []SelectData `json:"settle_state"`
  91. SettleType []SelectData `json:"settle_type"`
  92. InvoiceCate []SelectData `json:"invoice_cate"`
  93. InvoiceState []SelectData `json:"invoice_state"`
  94. }
  95. type FinanceCenterDataDetail struct {
  96. TimeStr string `json:"time_str" example:"业务时间"`
  97. Name string `json:"name" example:"媒体名称"`
  98. Account string `json:"account" example:"媒体账号"`
  99. Source string `json:"source" example:"结算标示"`
  100. SettleFile string `json:"settle_file" example:"结算单"`
  101. Invoice Invoice `json:"invoice"`
  102. AllIncome string `json:"all_income" example:"合计收益"`
  103. TopIncome string `json:"top_income" example:"上游结算"`
  104. CommissionIncome string `json:"commission_income" example:"佣金留存"`
  105. PlatformIncome string `json:"platform_income" example:"平台留存"`
  106. ChangeIncome string `json:"change_income" example:"调价留存"`
  107. MediumIncome string `json:"medium_income" example:"媒体结算"`
  108. OtherIncome string `json:"other_income" example:"其他调整"`
  109. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  110. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  111. DownUrl string `json:"down_url"`
  112. }
  113. type FinanceCenterDataAgentDetail struct {
  114. TimeStr string `json:"time_str" example:"业务时间"`
  115. Name string `json:"name" example:"媒体名称"`
  116. Account string `json:"account" example:"媒体账号"`
  117. Source string `json:"source" example:"结算标示"`
  118. SettleFile string `json:"settle_file" example:"结算单"`
  119. Invoice Invoice `json:"invoice"`
  120. AllIncome string `json:"all_income" example:"合计收益"`
  121. Income string `json:"income" example:"渠道结算"`
  122. OtherIncome string `json:"other_income" example:"其他调整"`
  123. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  124. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  125. DownUrl string `json:"down_url"`
  126. }
  127. type Invoice struct {
  128. Type string `json:"type"`
  129. Time string `json:"time"`
  130. Count string `json:"count"`
  131. File []InvoiceFile `json:"file"`
  132. }
  133. type InvoiceFile struct {
  134. Url string `json:"url"`
  135. State string `json:"state" example:"0待确认 1审核通过 2审核失败"`
  136. }
  137. type SettleFileReq struct {
  138. Id string `json:"id" example:"列表id"`
  139. File string `json:"file" example:"七牛云链接 带http"`
  140. }
  141. type InvoiceReq struct {
  142. Id string `json:"id" example:"列表id"`
  143. State string `json:"state" example:"1审核通过 2审核失败"`
  144. File []InvoiceFile `json:"file" `
  145. }
  146. type OtherIncomeReq struct {
  147. Id string `json:"id" example:"列表id"`
  148. Amount string `json:"amount" example:"其他收益"`
  149. }