From 47ddb3e3d9c97348cea6079d22a5c6d46b92fba3 Mon Sep 17 00:00:00 2001 From: "james.zhao" Date: Mon, 4 Feb 2019 11:04:27 +0800 Subject: [PATCH] update --- .../customers/core/impls/CustomerRewardLogServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CustomerRewardLogServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CustomerRewardLogServiceImpl.java index f5f6c2fa8..9eb022f7d 100644 --- a/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CustomerRewardLogServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CustomerRewardLogServiceImpl.java @@ -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);