From f52a547b18adff6a285dd684ee0a0480d51d7320 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 5 Nov 2025 18:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E8=BD=AC=E8=B4=A6=E9=87=91?= =?UTF-8?q?=E5=B8=81=20=E6=AF=94=E4=BE=8B=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/command/activity/LotteryTransferExe.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryTransferExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryTransferExe.java index 8e0f28a3..eb1c80da 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryTransferExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/LotteryTransferExe.java @@ -175,8 +175,11 @@ public class LotteryTransferExe { * @return 1美元可获得的金币数量. */ private Double getExchangeGoldRatio(LotteryTransferCmd cmd) { + Long acceptUserId = cmd.getAcceptUserId(); + boolean freight = freightBalanceClient.existsBalance(acceptUserId).getBody(); + List exchangeGolds = ResponseAssert.requiredSuccess( - userRegionClient.listRegionExchangeGoldTip(cmd.requiredReqUserId(), false)); + userRegionClient.listRegionExchangeGoldTip(cmd.requiredReqUserId(), freight)); ResponseAssert.notEmpty(CommonErrorCode.CONFIGURATION_ERROR, exchangeGolds); exchangeGolds = exchangeGolds.stream().filter(gold ->