瀏覽代碼

优化代码

master
Binary Wang 7 年之前
父節點
當前提交
81ebe1a085
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceAbstractImpl.java

+ 2
- 2
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceAbstractImpl.java 查看文件

@@ -422,9 +422,9 @@ public abstract class WxPayServiceAbstractImpl implements WxPayService {
String responseContent = this.post(url, request.toXML(), false); String responseContent = this.post(url, request.toXML(), false);
if (responseContent.startsWith("<")) { if (responseContent.startsWith("<")) {
throw WxPayException.from(WxPayBaseResult.fromXML(responseContent, WxPayCommonResult.class)); throw WxPayException.from(WxPayBaseResult.fromXML(responseContent, WxPayCommonResult.class));
} else {
return this.handleBillInformation(responseContent);
} }

return this.handleBillInformation(responseContent);
} }


private WxPayBillResult handleBillInformation(String responseContent) { private WxPayBillResult handleBillInformation(String responseContent) {


Loading…
取消
儲存