Skip to content

Commit a0dc8ca

Browse files
committed
重构微信支付申请退款接口 for issue #25
1 parent 5fe1c06 commit a0dc8ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImplTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public void testRefund() throws Exception {
4444
request.setOutTradeNo("1111");
4545
request.setTotalFee(1222);
4646
request.setRefundFee(111);
47-
WxMpPayRefundResult result = this.wxService.getPayService().refund(request);
47+
File keyFile = new File("E:\\dlt.p12");
48+
WxMpPayRefundResult result = this.wxService.getPayService().refund(request, keyFile);
4849
System.err.println(result);
4950
}
5051

0 commit comments

Comments
 (0)