master
james.zhao 6 years ago
parent 887e3e2268
commit 47ddb3e3d9

@ -103,7 +103,7 @@ public class CustomerRewardLogServiceImpl implements CustomerRewardLogService {
MpWechatApi redpackApi = mpWechatApiProvider.getApi("redpack");
WechatRedpack wechatRedpack = new WechatRedpack();
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);
logger.info("2019新年活动获取的红包信息==>"+res.toJSONString());
reward.put("status",0);

Loading…
Cancel
Save