mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 16:18:51 +08:00
优化代码
This commit is contained in:
parent
5c9ec87bb8
commit
81ebe1a085
@ -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…
Reference in New Issue
Block a user