#530 微信支付申请退款接口结果类增加单个代金券相关参数 ,并根据官方文档整理其他参数

This commit is contained in:
Binary Wang
2018-04-22 00:33:33 +08:00
parent 2063dcfd4c
commit 8b30615cd7
5 changed files with 190 additions and 70 deletions

View File

@@ -131,6 +131,7 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
String url = this.getPayBaseUrl() + "/secapi/pay/refund";
String responseContent = this.post(url, request.toXML(), true);
WxPayRefundResult result = BaseWxPayResult.fromXML(responseContent, WxPayRefundResult.class);
result.composeRefundCoupons();
result.checkResult(this, request.getSignType(), true);
return result;
}