diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java index c90f2756..61170012 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/GiveGiftsListener.java @@ -523,7 +523,7 @@ public class GiveGiftsListener implements MessageListener { if (Boolean.FALSE.equals(isConflicts)) { // 幸运礼物 不计算金额,GiftPrizeAcceptStrategy不发送 - /*if (event.checkLuckyGift()) { + if (event.checkLuckyGift()) { // 幸运礼物目标 = 礼物价值 * 比例 targetAmount = giftValue.getGiftValue().multiply(luckyGiftRatio).setScale(0, RoundingMode.DOWN); @@ -532,7 +532,7 @@ public class GiveGiftsListener implements MessageListener { // 赠送礼物给别人返还金币比例 acceptAssistRatio = luckyGiftRatio; - }*/ + } if (!event.checkLuckyGift()) { // 赠送礼物给别人返还金币比例