client.trans.go 922 B

1234567891011121314151617181920212223242526272829
  1. package models
  2. import (
  3. "github.com/shopspring/decimal"
  4. )
  5. type ClientTransRequest struct {
  6. OpenId string `json:"open_id"`
  7. PageSize int `json:"page_size"`
  8. PageIndex int `json:"page_index"`
  9. TypeList int `json:"type_list"` //1-未开始 2-进行中 3-已结束
  10. }
  11. type ClientTransReply struct {
  12. MerchantCardID int64 `json:"merchant_card_id"` // 商户卡id
  13. Amount decimal.Decimal `json:"amount"` // 交易金额
  14. PayTime string `json:"pay_time"` // 支付时间
  15. MerchantCardName string `json:"merchant_card_name"` // 商户卡名称
  16. MerchantCardTime string `json:"merchant_card_time"` // 商户卡有效期
  17. TransId int64 `json:"trans_id"` //交易id
  18. }
  19. type VerificationCodeRequest struct {
  20. TransId int64 `json:"trans_id"`
  21. }
  22. type VerificationCodeReply struct {
  23. QR string `json:"qr"`
  24. }