Skip to content

Commit 7f830e2

Browse files
committed
添加缺少的代码
1 parent 06c73ca commit 7f830e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ public WxRedpackResult sendRedpack(Map<String, String> parameters)
421421
@Override
422422
public WxRedpackResult sendRedpack(WxSendRedpackRequest request) throws WxErrorException {
423423
XStream xstream = XStreamInitializer.getInstance();
424+
xstream.processAnnotations(WxSendRedpackRequest.class);
424425
xstream.processAnnotations(WxRedpackResult.class);
425426

426427
request.setWxAppid(this.wxMpService.getWxMpConfigStorage().getAppId());

0 commit comments

Comments
 (0)