幸运礼物接受不送金币和钻石

This commit is contained in:
tianfeng 2025-09-17 20:11:27 +08:00
parent dd69016cda
commit cbc8e1fc9e

View File

@ -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())
);
}
}*/
//}
// 发放积分