user_merchant_h5.go 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. package apis
  2. type TGdH5ServiceMerchant struct {
  3. Id int64 `json:"merchant_h5_service_id"`
  4. MerchantId int64 `json:"merchant_id"`
  5. H5ServiceId int64 `json:"h5_service_id"`
  6. Count int `json:"count"`
  7. ThemeColor string `json:"theme_color"`
  8. StartTime int64 `json:"start_time"`
  9. EndTime int64 `json:"end_time"`
  10. State int `json:"state"`
  11. CreateTime string `json:"create_time"`
  12. UpdateTime string `json:"update_time"`
  13. ComboType int `json:"combo_type"`
  14. }
  15. type TGdH5ServiceOrder struct {
  16. Id int64 `json:"h5_service_order"`
  17. OrderNo string `json:"order_no"`
  18. MerchantId int64 `json:"merchant_id"`
  19. H5ServiceId int64 `json:"h5_service_id"`
  20. H5ServiceComboId int64 `json:"h5_service_combo_id"`
  21. Status int `json:"status"`
  22. ThemeColor string `json:"theme_color"`
  23. CreateTime string `json:"create_time"`
  24. GoodPrice float64 `json:"good_price"`
  25. }
  26. type ManagementAddMerchantH5ServiceReq struct {
  27. MerchantId int64 `json:"merchant_id"`
  28. H5ServiceId int64 `json:"h5_service_id"`
  29. ComboId int64 `json:"h5_combo_id"`
  30. ThemeColor string `json:"theme_color"`
  31. }
  32. type ManagementAddMerchantH5ServiceReply struct {
  33. MerchantH5ServiceId int64 `json:"merchant_h5_service_id"`
  34. }
  35. type ManagementGetMerchantH5ServiceReq struct {
  36. PageNumber int `json:"page_number"`
  37. IsAll bool `json:"is_all"`
  38. MerchantId int64 `json:"merchant_id"`
  39. }
  40. type MerchantH5ServiceItem struct {
  41. MerchantH5ServiceId int64 `json:"merchant_h5_service_id"`
  42. H5ServiceId int64 `json:"h5_service_id"`
  43. ComboType int `json:"combo_type" description:"套餐类型1 按总次数,2 按天"`
  44. TotalCount int `json:"total_count" description:""`
  45. RemainCount int `json:"remain_count" description:""`
  46. DayCount int `json:"day_count" description:""`
  47. DayRemainCount int `json:"day_remain_count" description:""`
  48. DayNumberCount int `json:"day_number_count" description:"天数上限"`
  49. DayNumberRemain int `json:"day_number_remain" description:"有效天数"`
  50. Status string `json:"status" description:""`
  51. UseTime string `json:"use_time" description:""`
  52. H5ServiceName string `json:"h5_service_name"`
  53. State string `json:"state"`
  54. }
  55. type ManagementGetMerchantH5ServiceReply struct {
  56. PageSize int `json:"page_size"`
  57. Total int `json:"total"`
  58. PageNumber int `json:"page_number"`
  59. MerchantH5ServiceList []MerchantH5ServiceItem `json:"merchant_h5_service_list"`
  60. }
  61. type ManagementGetMerchantH5ComboReq struct {
  62. MerchantH5ServiceId int64 `json:"merchant_h5_service_id"`
  63. }
  64. type ManagementGetMerchantH5ComboReply struct {
  65. DayCount int `json:"day_count" description:"日调用量上限"`
  66. Count int `json:"count" description:"总调用上限"`
  67. DayNumber int `json:"day_number" description:"剩余有效天数"`
  68. Type int `json:"type" description:"1 按总次数, 2按天"`
  69. }
  70. type ManagementSetMerchantH5ComboReq struct {
  71. MerchantH5ServiceId int64 `json:"merchant_h5_service_id"`
  72. DayCount int `json:"day_count" description:"日调用量上限"`
  73. Count int `json:"count" description:"总调用上限"`
  74. DayNumber int `json:"day_number" description:"剩余有效天数"`
  75. }
  76. type ManagementSetMerchantH5ComboReply struct {
  77. }
  78. /*
  79. type MangementGetH5OrderInfoReq struct {
  80. OrderId int64 `json:"order_id" description:""`
  81. }
  82. type MangementGetH5OrderInfoReply struct {
  83. OrderInfo TGdH5ServiceOrder `json:"order_info"`
  84. }
  85. */