添加缺少的代码

This commit is contained in:
Binary Wang 2016-09-24 23:47:50 +08:00
parent 06c73ca6ab
commit 7f830e2755

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());