From b0e5a3f5c03f888e6165ad01e05f46a7ee5e198b Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Tue, 31 Mar 2026 17:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E8=AE=BE=E7=BD=AE=E6=8A=BD?= =?UTF-8?q?=E5=A5=96=E5=BA=95=E6=B3=A8=E9=87=91=E9=A2=9D=E4=B8=BA1?= =?UTF-8?q?=EF=BC=8C=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reward_config/utils/generateIndexByRules.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/saiadmin-artd/src/views/plugin/dice/reward_config/utils/generateIndexByRules.ts b/saiadmin-artd/src/views/plugin/dice/reward_config/utils/generateIndexByRules.ts index 5d71790..7834786 100644 --- a/saiadmin-artd/src/views/plugin/dice/reward_config/utils/generateIndexByRules.ts +++ b/saiadmin-artd/src/views/plugin/dice/reward_config/utils/generateIndexByRules.ts @@ -55,10 +55,10 @@ export interface TierRealEvStandards { /** 默认标准(与规则弹窗说明一致) */ export const DEFAULT_TIER_REAL_EV_STANDARDS: TierRealEvStandards = { - T1: 300, - T2: 150, - T3: 50, - T4: -40, + T1: 30, + T2: 15, + T3: 5, + T4: -4, T5: 0 } @@ -66,13 +66,13 @@ export const DEFAULT_TIER_REAL_EV_STANDARDS: TierRealEvStandards = { * 校验档位与 real_ev 区间是否一致;通过返回 null,否则返回 i18n 键名(不含 page.configPage. 前缀) */ export function validateTierRealEvStandards(s: TierRealEvStandards): string | null { - if (!Number.isFinite(s.T1) || !(s.T1 > 200)) { + if (!Number.isFinite(s.T1) || !(s.T1 > 20)) { return 'ruleGenInvalidT1RealEv' } - if (!Number.isFinite(s.T2) || !(s.T2 > 100 && s.T2 < 200)) { + if (!Number.isFinite(s.T2) || !(s.T2 > 10 && s.T2 < 20)) { return 'ruleGenInvalidT2RealEv' } - if (!Number.isFinite(s.T3) || !(s.T3 > 0 && s.T3 < 100)) { + if (!Number.isFinite(s.T3) || !(s.T3 > 0 && s.T3 < 10)) { return 'ruleGenInvalidT3RealEv' } if (!Number.isFinite(s.T4) || !(s.T4 < 0)) {