From 222b444d7721214a0f7e40e82fd8a8af6baaa61a Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 25 Sep 2025 15:40:28 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E5=B9=B8=E8=BF=90=E7=A4=BC=E7=89=A9?= =?UTF-8?q?=E6=8E=A5=E5=8F=97=E4=B8=8D=E9=80=81=E9=87=91=E5=B8=81=E5=92=8C?= =?UTF-8?q?=E9=92=BB=E7=9F=B3"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit cbc8e1fc9e59dcd481555df571b2b73c596d21e8. --- .../listener/gift/strategy/GiftPrizeAcceptStrategy.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftPrizeAcceptStrategy.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftPrizeAcceptStrategy.java index d48f3c40..f8fd900d 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftPrizeAcceptStrategy.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftPrizeAcceptStrategy.java @@ -106,7 +106,7 @@ public class GiftPrizeAcceptStrategy implements GiftStrategy { walletDiamondClient.changeBalance(cmd);*//* } else{*/ // 发送金币 - /*if (GiftCurrencyType.GOLD.eq(runningWater.getGiftValue().getCurrencyType()) + if (GiftCurrencyType.GOLD.eq(runningWater.getGiftValue().getCurrencyType()) && Boolean.FALSE.equals(isLuckyGift)) { Long consumeId = walletGoldClient.changeBalance(GoldReceiptCmd.builder() @@ -124,10 +124,10 @@ public class GiftPrizeAcceptStrategy implements GiftStrategy { giftGiveRunningWaterService.updateAcceptUserReceiptId(runningWater.getId(), accept.getAcceptUserId(), consumeId); - }*/ + } // 发放幸运礼物钻石 - /*if (GiftCurrencyType.GOLD.eq(runningWater.getGiftValue().getCurrencyType()) + if (GiftCurrencyType.GOLD.eq(runningWater.getGiftValue().getCurrencyType()) && Boolean.TRUE.equals(isLuckyGift)) { walletDiamondClient.changeBalance( @@ -143,7 +143,7 @@ public class GiftPrizeAcceptStrategy implements GiftStrategy { .setAmount(accept.getAcceptAmount()) .setCreateTime(TimestampUtils.now()) ); - }*/ + } //} // 发放积分