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

2 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 FinanceCenterDataDetailRes struct {
  34. Data FinanceCenterDataDetail `json:"data" `
  35. BusinessKind []SelectData `json:"business_kind"`
  36. SettlePayState []SelectData `json:"settle_pay_state"`
  37. SettleState []SelectData `json:"settle_state"`
  38. SettleType []SelectData `json:"settle_type"`
  39. InvoiceCate []SelectData `json:"invoice_cate"`
  40. InvoiceState []SelectData `json:"invoice_state"`
  41. }
  42. type FinanceCenterDataDetail struct {
  43. TimeStr string `json:"time_str" example:"业务时间"`
  44. Name string `json:"name" example:"媒体名称"`
  45. Account string `json:"account" example:"媒体账号"`
  46. Source string `json:"source" example:"结算标示"`
  47. SettleFile string `json:"settle_file" example:"结算单"`
  48. Invoice Invoice `json:"invoice"`
  49. AllIncome string `json:"all_income" example:"合计收益"`
  50. TopIncome string `json:"top_income" example:"上游结算"`
  51. CommissionIncome string `json:"commission_income" example:"佣金留存"`
  52. PlatformIncome string `json:"platform_income" example:"平台留存"`
  53. ChangeIncome string `json:"change_income" example:"调价留存"`
  54. MediumIncome string `json:"medium_income" example:"媒体结算"`
  55. OtherIncome string `json:"other_income" example:"其他调整"`
  56. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  57. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  58. }
  59. type Invoice struct {
  60. Type string `json:"type"`
  61. Time string `json:"time"`
  62. Count string `json:"count"`
  63. File []InvoiceFile `json:"file"`
  64. }
  65. type InvoiceFile struct {
  66. Url string `json:"url"`
  67. State string `json:"state" example:"0待确认 1审核通过 2审核失败"`
  68. }
  69. type SettleFileReq struct {
  70. Id string `json:"id" example:"列表id"`
  71. File string `json:"file" example:"七牛云链接 带http"`
  72. }
  73. type InvoiceReq struct {
  74. Id string `json:"id" example:"列表id"`
  75. State string `json:"state" example:"1审核通过 2审核失败"`
  76. File []InvoiceFile `json:"file" `
  77. }
  78. type OtherIncomeReq struct {
  79. Id string `json:"id" example:"列表id"`
  80. Amount string `json:"amount" example:"其他收益"`
  81. }