From ce794d1b6140c14490cbe8a330c0e2d87677d107 Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Wed, 8 Jul 2026 22:28:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20DRATIO=20=E5=8A=A8=E6=80=81=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E7=8E=87=E9=BB=98=E8=AE=A4=E5=80=BC=E5=90=88=E7=90=86?= =?UTF-8?q?=E5=8C=96=EF=BC=8CUI=20=E5=8A=A0'=E8=A6=81=E6=B1=82'=E4=BA=8C?= =?UTF-8?q?=E5=AD=97=E6=B6=88=E9=99=A4=E6=AD=A7=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 预设默认值: 1.0/2.0/3.0 → 0.3/0.5/0.8 意图: 下载量越大,允许的分享率越低,不是越高 --- web/src/views/RiskRules.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/views/RiskRules.vue b/web/src/views/RiskRules.vue index 160259d..fccd4f1 100644 --- a/web/src/views/RiskRules.vue +++ b/web/src/views/RiskRules.vue @@ -131,7 +131,7 @@
下载量 ≥ - GB 时,分享率 ≥ + GB 时,要求分享率 ≥
@@ -273,7 +273,7 @@ const presets = [ // 新人考核 { name:'新人考核', type:'TASK', threshold:30, unit:'天', description:'新注册用户需在考核周期内完成各项要求' }, // 动态分享率 - { name:'动态分享率', type:'DRATIO', levels:[{threshold:100,ratio:1.0},{threshold:500,ratio:2.0},{threshold:1000,ratio:3.0}], description:'下载量分级控制分享率' }, + { name:'动态分享率', type:'DRATIO', levels:[{threshold:100,ratio:0.3},{threshold:500,ratio:0.5},{threshold:1000,ratio:0.8}], description:'下载量分级控制分享率' }, // 等级豁免 { name:'等级豁免', type:'EXEMPT', permRank:'Elite User', sealExemptRank:'Power User', description:'达到等级的账号可豁免清理' }, ] @@ -338,7 +338,7 @@ const ruleText = (r) => { const cond = condLabel(r.condition) const val = `${metric}${cond}${r.threshold}${r.unit||''}` if (r.type === 'DRATIO') { - const levels = (r.levels||[]).map(l => `下载量≥${l.threshold}GB时分享率≥${l.ratio}`).join(',') + const levels = (r.levels||[]).map(l => `下载量≥${l.threshold}GB时要求分享率≥${l.ratio}`).join(',') return `动态分享率:${levels} → 封号(缓刑7天)${appText}` } if (r.type === 'RATIO') {