You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package md
-
- // WxPayCallback 微信回调结构体
- type WxPayCallback struct {
- Id string `json:"id"`
- CreateTime string `json:"create_time"`
- ResourceType string `json:"resource_type"`
- EventType string `json:"event_type"`
- Summary string `json:"summary"`
- Resource struct {
- OriginalType string `json:"original_type"`
- Algorithm string `json:"algorithm"`
- Ciphertext string `json:"ciphertext"`
- AssociatedData string `json:"associated_data"`
- Nonce string `json:"nonce"`
- } `json:"resource"`
- }
-
- // WxPayDecryptAesCallback 微信解密回调结构体
- type WxPayDecryptAesCallback struct {
- SpMchid string `json:"sp_mchid"`
- SubMchid string `json:"sub_mchid"`
- SpAppid string `json:"sp_appid"`
- SubAppid string `json:"sub_appid"`
- OutTradeNo string `json:"out_trade_no"`
- TransactionId string `json:"transaction_id"`
- TradeType string `json:"trade_type"`
- TradeState string `json:"trade_state"`
- TradeStateDesc string `json:"trade_state_desc"`
- BankType string `json:"bank_type"`
- Attach string `json:"attach"`
- SuccessTime string `json:"success_time"`
- Payer struct {
- SpOpenid string `json:"sp_openid"`
- SubOpenid string `json:"sub_openid"`
- } `json:"payer"`
- Amount struct {
- Total int64 `json:"total"`
- PayerTotal int64 `json:"payer_total"`
- Currency string `json:"currency"`
- PayerCurrency string `json:"payer_currency"`
- } `json:"amount"`
- }
|