Merge remote-tracking branch 'origin/develop'

master
james.zhao 6 years ago
commit 84a8773325

@ -103,7 +103,7 @@ public class CustomerRewardLogServiceImpl implements CustomerRewardLogService {
MpWechatApi redpackApi = mpWechatApiProvider.getApi("redpack"); MpWechatApi redpackApi = mpWechatApiProvider.getApi("redpack");
WechatRedpack wechatRedpack = new WechatRedpack(); WechatRedpack wechatRedpack = new WechatRedpack();
wechatRedpack.setSendName(sendName).setOpenId(redpack_openid).setActName(actName) wechatRedpack.setSendName(sendName).setOpenId(redpack_openid).setActName(actName)
.setRemark(actName).setAmount(reward.getBigDecimal("amount").divide(new BigDecimal(100))).setWishing(wishing).setNotifyUrl(notifyUrl); .setRemark(actName).setAmount(reward.getBigDecimal("amount")).setWishing(wishing).setNotifyUrl(notifyUrl);
JSONObject res = redpackApi.sendRedpack(wechatRedpack); JSONObject res = redpackApi.sendRedpack(wechatRedpack);
logger.info("2019新年活动获取的红包信息==>"+res.toJSONString()); logger.info("2019新年活动获取的红包信息==>"+res.toJSONString());
reward.put("status",0); reward.put("status",0);

Loading…
Cancel
Save