From c46e099f1c8b640062cd764cf2d00759de3d5829 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Mon, 20 Oct 2025 15:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B8=E8=BF=90=E7=A4=BC=E7=89=A9=20?= =?UTF-8?q?=E7=A4=BC=E7=89=A9=E7=BB=9F=E8=AE=A1=E9=87=91=E9=A2=9D=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/common/gift/GameLuckyGiftCommon.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java index 606fa1d9..e04c318c 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/common/gift/GameLuckyGiftCommon.java @@ -1274,9 +1274,7 @@ public class GameLuckyGiftCommon { * 获得幸运礼物比例普通榜单比例处理, 固定10%. */ public BigDecimal getLuckyGiftShareRatio(String sysOrigin) { - EnumConfig enumConfig = enumConfigService.getByEnumConfig("ACCEPT_ORDINARY_GIFT_TARGET_RATIO", sysOrigin); - BigDecimal bigDecimal = convertBigDecimal(enumConfig.getVal()); - return bigDecimal.multiply(BigDecimal.valueOf(0.1)).setScale(2, RoundingMode.HALF_UP); + return getLuckyGiftTargetRatio(sysOrigin); } public static BigDecimal convertBigDecimal(String input) {