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

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