From 1a6643cd5ade9c4bbd1f3cdeda07900485c63291 Mon Sep 17 00:00:00 2001 From: xhxu Date: Tue, 18 Oct 2022 21:56:53 +0800 Subject: [PATCH] //log --- .../wxpay/service/impl/WxPayServiceApacheHttpImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceApacheHttpImpl.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceApacheHttpImpl.java index 1b21b9f7..36d358a6 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceApacheHttpImpl.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceApacheHttpImpl.java @@ -141,6 +141,7 @@ public class WxPayServiceApacheHttpImpl extends BaseWxPayServiceImpl { String responseString = "{}"; HttpEntity entity = response.getEntity(); if (entity != null) { + this.log.error("====="+entity.toString()); responseString = EntityUtils.toString(entity, StandardCharsets.UTF_8); } @@ -148,7 +149,6 @@ public class WxPayServiceApacheHttpImpl extends BaseWxPayServiceImpl { this.log.info("\n【请求地址】:{}\n【请求数据】:{}\n【响应数据】:{}", url, requestStr, responseString); return responseString; } else { - this.log.error(responseString); //有错误提示信息返回 JsonObject jsonObject = GsonParser.parse(responseString); throw convertException(jsonObject);