金额 BigDecimal

This commit is contained in:
wells
2026-08-09 12:30:23 +08:00
parent 2c6f405524
commit c5250e23ef
18 changed files with 142 additions and 81 deletions
@@ -62,7 +62,7 @@ public class RedPacketServiceImpl implements IRedPacketService {
}
// 扣积分
pointsService.subPoints(userId, totalAmount.longValue(),
pointsService.subPoints(userId, totalAmount,
IPointsService.TYPE_RP_SEND, null, null, "发送红包");
@@ -191,7 +191,7 @@ public class RedPacketServiceImpl implements IRedPacketService {
}
// 加积分
pointsService.addPoints(userId, amount.longValue(),
pointsService.addPoints(userId, amount,
IPointsService.TYPE_RP_RECV, String.valueOf(rpId), null, "领取红包");
// 记录领取