From 068a58cf00c6c5e8ae5c288eb3589e4b899378ce Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Wed, 29 Oct 2025 16:05:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E6=8F=90=E7=A4=BA=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4=E4=B8=AD=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/service/game/GameBaishunServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java index 2833c3c9..2b5c2236 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java @@ -174,8 +174,8 @@ public class GameBaishunServiceImpl implements GameBaishunService { .build()); BigDecimal cost = enumConfigCacheService - .getValueBigDecimal(EnumConfigKey.GAME_BROADCAST_AMOUNT, sysOrigin); - if (cost.compareTo(BigDecimal.ZERO) <= 0) { + .getValueBigDecimal(EnumConfigKey.GAME_BROADCAST_AMOUNT, sysOrigin) ; + if (cost == null || cost.compareTo(BigDecimal.ZERO) <= 0) { cost = BigDecimal.valueOf(5000L); }