Skip to content

Commit 81ebe1a

Browse files
committed
优化代码
1 parent 5c9ec87 commit 81ebe1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceAbstractImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@ public WxPayBillResult downloadBill(String billDate, String billType, String tar
422422
String responseContent = this.post(url, request.toXML(), false);
423423
if (responseContent.startsWith("<")) {
424424
throw WxPayException.from(WxPayBaseResult.fromXML(responseContent, WxPayCommonResult.class));
425-
} else {
426-
return this.handleBillInformation(responseContent);
427425
}
426+
427+
return this.handleBillInformation(responseContent);
428428
}
429429

430430
private WxPayBillResult handleBillInformation(String responseContent) {

0 commit comments

Comments
 (0)