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

93 rivejä
3.1 KiB

  1. package md
  2. var AccountSettleState = []SelectData{
  3. {Name: "日结", Value: "1"},
  4. {Name: "周结", Value: "2"},
  5. {Name: "月结", Value: "3"},
  6. {Name: "预付", Value: "4"},
  7. }
  8. var BusinessKind = []SelectData{
  9. {Name: "广告合作", Value: "1"},
  10. }
  11. var PayMethod = []SelectData{
  12. {Name: "对私账户", Value: "0"},
  13. {Name: "对公账户", Value: "1"},
  14. }
  15. var InvoiceCate = []SelectData{
  16. {Name: "电子发票", Value: "0"},
  17. {Name: "纸质发票", Value: "1"},
  18. }
  19. var SettlePayState = []SelectData{
  20. {Name: "未开始", Value: "0"},
  21. {Name: "待审核发票", Value: "1"},
  22. {Name: "发票审核中", Value: "2"},
  23. {Name: "发票审核拒绝", Value: "3"},
  24. {Name: "付款中", Value: "4"},
  25. {Name: "已付款", Value: "5"},
  26. }
  27. var SettleState = []SelectData{
  28. {Name: "未开始", Value: "0"},
  29. {Name: "核算中", Value: "1"},
  30. {Name: "待签订", Value: "2"},
  31. {Name: "完成签订", Value: "3"},
  32. }
  33. var InvoiceState = []SelectData{
  34. {Name: "待审核", Value: "0"},
  35. {Name: "审核通过", Value: "1"},
  36. {Name: "审核拒绝", Value: "2"},
  37. }
  38. type SettleCenterDataReq struct {
  39. Limit string `json:"limit"`
  40. Page string `json:"page" `
  41. Name string `json:"name"`
  42. Account string `json:"account"`
  43. State string `json:"state"`
  44. }
  45. type SettleCenterDataRes struct {
  46. List []SettleCenterDataData `json:"list" `
  47. Total int64 `json:"total"`
  48. State []SelectData `json:"state"`
  49. }
  50. type SettleCenterDataData struct {
  51. Id string `json:"id"`
  52. Name string `json:"name"`
  53. Account string `json:"account"`
  54. SettleType string `json:"settle_type"`
  55. UpdateAt string `json:"update_at"`
  56. }
  57. type SettleCenterDataSaveReq struct {
  58. Id string `json:"id"`
  59. SettleType string `json:"settle_type"`
  60. }
  61. type SettleCenterDataDetailReq struct {
  62. Limit string `json:"limit"`
  63. Id string `json:"id"`
  64. Page string `json:"page" `
  65. StartTime string `json:"start_time" example:"2024-08-29"`
  66. EndTime string `json:"end_time" `
  67. }
  68. type SettleCenterDataDetailRes struct {
  69. List []SettleCenterDataDetailData `json:"list" `
  70. Total int64 `json:"total"`
  71. BusinessKind []SelectData `json:"business_kind"`
  72. SettlePayState []SelectData `json:"settle_pay_state"`
  73. SettleState []SelectData `json:"settle_state"`
  74. SettleType []SelectData `json:"settle_type"`
  75. }
  76. type SettleCenterDataDetailData struct {
  77. TimeStr string `json:"time_str"example:"业务时间"`
  78. BusinessKind string `json:"business_kind" example:"业务类型(1:广告合作)"`
  79. SettleType string `json:"settle_type" example:"结算单类型(1:日结 2:周结 3:月结 4:预付)"`
  80. AllIncome string `json:"all_income" example:"总计"`
  81. BasicIncome string `json:"basic_income" example:"基础收益"`
  82. OtherIncome string `json:"other_income" example:"其他收益"`
  83. PayState string `json:"pay_state" example:"结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"`
  84. State string `json:"state" example:"结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"`
  85. }