RechargeRecordRequest.go 740 B

12345678910111213141516171819202122232425262728
  1. package http_model
  2. type RechargeRecordRequest struct {
  3. ConfirmAt string `json:"confirm_at"`
  4. Method int `json:"method"`
  5. }
  6. type RechargeRecordData struct {
  7. RechargeId string `json:"recharge_id"`
  8. RechargeAmount string `json:"recharge_amount"`
  9. PayMethod string `json:"pay_method"`
  10. TransferVoucher string `json:"transfer_voucher"`
  11. ConfirmAt string `json:"confirm_at"`
  12. }
  13. type RechargeRecordPreview struct {
  14. RechargeRecordData []*RechargeRecordData `json:"recharge_record_data"`
  15. }
  16. func NewRechargeRecordRequest() *RechargeRecordRequest {
  17. return new(RechargeRecordRequest)
  18. }
  19. func NewRechargeRecordResponse() *CommonResponse {
  20. resp := new(CommonResponse)
  21. resp.Data = new(RechargeRecordPreview)
  22. return resp
  23. }