getprerechargelistrequest.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package http_model
  2. type GetPreRechargeListRequest struct {
  3. PageSize int `json:"page_size"`
  4. PageNum int `json:"page_num"`
  5. Status int `json:"status"`
  6. Others string `json:"others,omitempty"`
  7. }
  8. type PreRechargeListResponse struct {
  9. ID string `json:"id"`
  10. EnterPrise string `json:"enterprise"`
  11. Operator string `json:"operator"`
  12. RechargeAmount float64 `json:"recharge_amount"`
  13. RechargeMethod int64 `json:"recharge_method"`
  14. TransferVoucherUrl string `json:"transfer_voucher_url"`
  15. Phone string `json:"phone"`
  16. CommitAt string `json:"commit_at"`
  17. ConfirmAt string `json:"confirm_at"`
  18. RefuseAt string `json:"Refuse_at"`
  19. FailReason string `json:"fail_reason"`
  20. }
  21. type PreRechargeListData struct {
  22. PreRechargeListinfo []*PreRechargeListResponse `json:"pre_recharge_list_info"`
  23. Total int64 `json:"total"`
  24. }
  25. func NewGetPreRechargeListRequest() *GetPreRechargeListRequest {
  26. return new(GetPreRechargeListRequest)
  27. }
  28. func NewGetPreRechargeListResponse() *CommonResponse {
  29. resp := new(CommonResponse)
  30. resp.Data = new(PreRechargeListData)
  31. return resp
  32. }