From 588d6d9a0bfec9e4839f5dfd98b838916e4226f5 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 15 Aug 2025 12:22:46 +0800 Subject: [PATCH] =?UTF-8?q?wallet=20=E5=A4=84=E7=90=86region=E4=B8=BAnull?= =?UTF-8?q?=E6=97=B6=3D1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/wallet/infra/gateway/FreightShipGatewayImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/gateway/FreightShipGatewayImpl.java b/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/gateway/FreightShipGatewayImpl.java index 1d6d22dc..b04cadd0 100644 --- a/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/gateway/FreightShipGatewayImpl.java +++ b/rc-service/rc-service-wallet/wallet-infrastructure/src/main/java/com/red/circle/wallet/infra/gateway/FreightShipGatewayImpl.java @@ -98,7 +98,7 @@ public class FreightShipGatewayImpl implements FreightShipGateway { public int getFreightGoldToUsdRatio(Long userId) { UserRegionDTO region = getUserRegionSetting(userId); if (region == null) { - return 0; + return 1; } int ratio = FreightGoldToUsdRatioEnum.getRatio(region.getSysOrigin()); /*