Browse Source

添加缺少的代码

master
Binary Wang 8 years ago
parent
commit
7f830e2755
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java

+ 1
- 0
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpPayServiceImpl.java View File

@@ -421,6 +421,7 @@ public class WxMpPayServiceImpl implements WxMpPayService {
@Override
public WxRedpackResult sendRedpack(WxSendRedpackRequest request) throws WxErrorException {
XStream xstream = XStreamInitializer.getInstance();
xstream.processAnnotations(WxSendRedpackRequest.class);
xstream.processAnnotations(WxRedpackResult.class);

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


Loading…
Cancel
Save