金额 BigDecimal
This commit is contained in:
@@ -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, "领取红包");
|
||||
|
||||
// 记录领取
|
||||
|
||||
Reference in New Issue
Block a user