游戏提示维护中修复

This commit is contained in:
tianfeng 2025-10-29 16:05:12 +08:00
parent 5ca71e6a1b
commit 068a58cf00

View File

@ -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);
}