|
@@ -724,8 +724,8 @@ public class CouponServiceImpl extends ServiceImpl<MtCouponMapper, MtCoupon> imp
|
|
|
totalMoney = totalMoney.add((coupon.getAmount().multiply(new BigDecimal(num).multiply(new BigDecimal(coupon.getSendNum())))));
|
|
|
}
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
- params.put("totalNum", totalNum + "");
|
|
|
- params.put("totalMoney", totalMoney + "");
|
|
|
+ params.put("totalNum", num.toString());
|
|
|
+ params.put("totalMoney", totalMoney.toString());
|
|
|
sendSmsService.sendSms(couponInfo.getMerchantId(), "received-coupon", mobileList, params);
|
|
|
}
|
|
|
// 发送小程序订阅消息
|