diff --git a/platformapi/wxpayapi/wxpayapi.go b/platformapi/wxpayapi/wxpayapi.go index b75f9af3..61d16623 100644 --- a/platformapi/wxpayapi/wxpayapi.go +++ b/platformapi/wxpayapi/wxpayapi.go @@ -483,7 +483,7 @@ func (a *API) AccessAPI(action string, requestParam IRequestBase) (retVal map[st fullURL := utils.GenerateGetURL(prodURL, action, nil) - var responseStr string + //var responseStr string err = platformapi.AccessPlatformAPIWithRetry(a.client, func() *http.Request { request, _ := http.NewRequest(http.MethodPost, fullURL, bytes.NewReader(mustMarshalXML(requestParam))) @@ -491,7 +491,7 @@ func (a *API) AccessAPI(action string, requestParam IRequestBase) (retVal map[st }, a.config, func(response *http.Response, bodyStr string, jsonResult1 map[string]interface{}) (errLevel string, err error) { - responseStr = bodyStr + //responseStr = bodyStr if jsonResult1 == nil { return platformapi.ErrLevelRecoverableErr, fmt.Errorf("mapData is nil") }