Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptedResource ¶
type EncryptedResource struct { Algorithm string `json:"algorithm"` Ciphertext string `json:"ciphertext"` AssociatedData string `json:"associated_data"` Nonce string `json:"nonce"` OriginalType string `json:"original_type"` Plaintext string // Ciphertext 解密后内容 }
EncryptedResource 微信支付通知请求中的内容
type RequestNotify ¶
type RequestNotify struct { ID string `json:"id"` CreateTime *time.Time `json:"create_time"` EventType string `json:"event_type"` ResourceType string `json:"resource_type"` Resource *EncryptedResource `json:"resource"` Summary string `json:"summary"` // 原始通知请求 RawRequest *http.Request }
Request 微信支付通知请求结构
Click to show internal directories.
Click to hide internal directories.