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 ->