mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
发送红包接口增加证书
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user