From 435bf5e72836c8acb2b4822e8bd3ced8fcd5d215 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 29 Jan 2026 15:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=A5=96=E5=AD=97=E6=AE=B5=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/common/gift/GameLuckyGiftCommon.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/common/gift/GameLuckyGiftCommon.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java index 63f89f0e..393d57f4 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java @@ -242,7 +242,7 @@ public class GameLuckyGiftCommon { } // 发送中奖金币 - BigDecimal balance = sendGold(param.getUserId(), param.getSysOrigin(), rewardAmount); + BigDecimal balance = sendGold(param.getUserId(), param.getGiftId(), param.getSysOrigin(), rewardAmount); // 发送中奖通知 int multiple = getRewardMultiple(param, rewardAmount); @@ -362,7 +362,7 @@ public class GameLuckyGiftCommon { } // 发送中奖金币 - BigDecimal balance = sendGold(param.getUserId(), param.getSysOrigin(), awardAmount); + BigDecimal balance = sendGold(param.getUserId(), param.getGiftId(), param.getSysOrigin(), awardAmount); // 发送中奖通知 sendMsg(param, multiple, balance, awardAmount); @@ -1206,12 +1206,12 @@ public class GameLuckyGiftCommon { /** * 发送金币. */ - private BigDecimal sendGold(Long userId, String sysOrigin, Long amount) { + private BigDecimal sendGold(Long userId, Long giftId, String sysOrigin, Long amount) { return ResponseAssert.requiredSuccess( walletGoldClient.changeBalance(GoldReceiptCmd.builder() .appIncome() .userId(userId) - .eventId(userId) + .eventId(giftId) .sysOrigin(SysOriginPlatformEnum.valueOf(sysOrigin)) .origin(GoldOrigin.LUCKY_GIFT_GOLD_REWARD) .amount(ArithmeticUtils.toBigDecimal(amount))