From fe21be6dcf4a130c44811f59a996ec0695a9ba4c Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 8 Oct 2025 20:34:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B8=E8=BF=90=E7=A4=BC=E7=89=A9=E7=BB=A7?= =?UTF-8?q?=E7=BB=AD=E8=AE=A1=E5=85=A5=E7=9B=AE=E6=A0=87=E6=B5=81=E6=B0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/listener/gift/GiveGiftsListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) { // 赠送礼物给别人返还金币比例