wxpay_model.go 463 B

123456789101112131415
  1. package wxpay
  2. type WxPayRequestData struct {
  3. Description string `json:"description"` //购买的产品的描述
  4. Amount int64 `json:"amount"` //产品金额,单位是分
  5. }
  6. type WxPayResponseData struct {
  7. PaySign string `json:"pay_sign"` //签名
  8. Package string `json:"package"` //随机字符串
  9. TimeStamp string `json:"time_stamp"` //时间戳
  10. NonceStr string `json:"nonce_str"` //随机字符串
  11. }
  12. type WxPayNotifyData struct {
  13. }