1
0
mirror of synced 2025-12-22 00:48:00 +08:00

发送红包接口增加证书

This commit is contained in:
BinaryWang
2016-10-09 19:00:26 +08:00
parent a4642896a3
commit f7f7d12347
3 changed files with 8 additions and 5 deletions

View File

@@ -62,7 +62,8 @@ public class WxMpPayServiceImplTest {
request.setMchBillno("aaaa");
request
.setReOpenid(((WxXmlMpInMemoryConfigStorage) this.wxService.getWxMpConfigStorage()).getOpenid());
WxRedpackResult redpackResult = this.wxService.getPayService().sendRedpack(request);
File keyFile = new File("E:\\dlt.p12");
WxRedpackResult redpackResult = this.wxService.getPayService().sendRedpack(request, keyFile);
System.err.println(redpackResult);
}