RechargeRecordRequest.go 841 B

1234567891011121314151617181920212223242526272829
  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. RechargeAmountReal string `json:"recharge_amount_real"`
  10. PayMethod string `json:"pay_method"`
  11. TransferVoucher string `json:"transfer_voucher"`
  12. ConfirmAt string `json:"confirm_at"`
  13. }
  14. type RechargeRecordPreview struct {
  15. RechargeRecordData []*RechargeRecordData `json:"recharge_record_data"`
  16. }
  17. func NewRechargeRecordRequest() *RechargeRecordRequest {
  18. return new(RechargeRecordRequest)
  19. }
  20. func NewRechargeRecordResponse() *CommonResponse {
  21. resp := new(CommonResponse)
  22. resp.Data = new(RechargeRecordPreview)
  23. return resp
  24. }