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

3 months ago
3 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. package md
  2. type FinancialDynamicsMediumListReq struct {
  3. Limit string `json:"limit"`
  4. Page string `json:"page" `
  5. Uid string `json:"uid" example:""`
  6. StartTime string `json:"start_time" example:"2024-08-29 00:00:00"`
  7. EndTime string `json:"end_time" `
  8. }
  9. type FinancialDynamicsMediumTotalReq struct {
  10. Uid string `json:"uid" example:""`
  11. StartTime string `json:"start_time" example:"2024-08-29 00:00:00"`
  12. EndTime string `json:"end_time" `
  13. }
  14. type FinancialDynamicsMediumListRes struct {
  15. List []FinancialDynamicsMediumListData `json:"list" `
  16. Total int64 `json:"total"`
  17. User []SelectData `json:"user"`
  18. BusinessKind []SelectData `json:"business_kind"`
  19. PayMethod []SelectData `json:"pay_method"`
  20. }
  21. type FinancialDynamicsMediumListData struct {
  22. Id string `json:"id"`
  23. Name string `json:"name"`
  24. PayTime string `json:"pay_time" example:"支付时间"`
  25. Amount string `json:"amount" example:"支付金额"`
  26. PayMethod string `json:"pay_method" example:"支付方式 0对私 1对公"`
  27. Certificate string `json:"certificate" example:"支付凭证"`
  28. Memo string `json:"memo" example:"备注"`
  29. BusinessKind string `json:"business_kind" example:"支付类型(1:广告合作)"`
  30. }
  31. type FinancialDynamicsMediumTotalRes struct {
  32. BalanceAmount string `json:"balance_amount" example:"账户余额"`
  33. AllAmount string `json:"all_amount" example:"预付总金额"`
  34. UseAmount string `json:"use_amount" example:"已消耗金额"`
  35. PayCount string `json:"pay_count" example:"预付次数"`
  36. }
  37. type FinancialDynamicsMediumSaveReq struct {
  38. Uid string `json:"uid"`
  39. Amount string `json:"amount" example:"支付金额"`
  40. PayMethod string `json:"pay_method" example:"支付方式 0对私 1对公"`
  41. Certificate string `json:"certificate" example:"支付凭证"`
  42. Memo string `json:"memo" example:"备注"`
  43. BusinessKind string `json:"business_kind" example:"支付类型(1:广告合作)"`
  44. }
  45. type FinancialDynamicsAgentListReq struct {
  46. Limit string `json:"limit"`
  47. Page string `json:"page" `
  48. Uid string `json:"uid" example:""`
  49. StartTime string `json:"start_time" example:"2024-08-29 00:00:00"`
  50. EndTime string `json:"end_time" `
  51. }
  52. type FinancialDynamicsAgentTotalReq struct {
  53. Uid string `json:"uid" example:""`
  54. StartTime string `json:"start_time" example:"2024-08-29 00:00:00"`
  55. EndTime string `json:"end_time" `
  56. }
  57. type FinancialDynamicsAgentListRes struct {
  58. List []FinancialDynamicsAgentListData `json:"list" `
  59. Total int64 `json:"total"`
  60. User []SelectData `json:"user"`
  61. BusinessKind []SelectData `json:"business_kind"`
  62. PayMethod []SelectData `json:"pay_method"`
  63. }
  64. type FinancialDynamicsAgentListData struct {
  65. Id string `json:"id"`
  66. Name string `json:"name"`
  67. PayTime string `json:"pay_time" example:"支付时间"`
  68. Amount string `json:"amount" example:"支付金额"`
  69. PayMethod string `json:"pay_method" example:"支付方式 0对私 1对公"`
  70. Certificate string `json:"certificate" example:"支付凭证"`
  71. Memo string `json:"memo" example:"备注"`
  72. BusinessKind string `json:"business_kind" example:"支付类型(1:广告合作)"`
  73. }
  74. type FinancialDynamicsAgentTotalRes struct {
  75. BalanceAmount string `json:"balance_amount" example:"账户余额"`
  76. AllAmount string `json:"all_amount" example:"预付总金额"`
  77. UseAmount string `json:"use_amount" example:"已消耗金额"`
  78. PayCount string `json:"pay_count" example:"预付次数"`
  79. }
  80. type FinancialDynamicsAgentSaveReq struct {
  81. Uid string `json:"uid"`
  82. Amount string `json:"amount" example:"支付金额"`
  83. PayMethod string `json:"pay_method" example:"支付方式 0对私 1对公"`
  84. Certificate string `json:"certificate" example:"支付凭证"`
  85. Memo string `json:"memo" example:"备注"`
  86. BusinessKind string `json:"business_kind" example:"支付类型(1:广告合作)"`
  87. }