Selaa lähdekoodia

添加获取沙箱Key的response

Jerry 7 vuotta sitten
vanhempi
commit
8ed312f10b
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      response.go

+ 9 - 0
response.go

@@ -20,6 +20,15 @@ type weChatPayResponse struct {
 	TradeType  string `xml:"trade_type"`
 }
 
+type getSignKeyResponse struct {
+	ReturnCode     string `xml:"return_code"`
+	ReturnMsg      string `xml:"return_msg"`
+	Retmsg         string `xml:"retmsg"`
+	Retcode        string `xml:"retcode"`
+	MchId          string `xml:"mch_id"`
+	SandboxSignkey string `xml:"sandbox_signkey"`
+}
+
 type aliPayResponse struct {
 	ReturnCode string `xml:"return_code"`
 	ReturnMsg  string `xml:"return_msg"`