From d1570fb80bc11da24991ad61b45f8bd11963d155 Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:13:52 +0800 Subject: [PATCH] feat: add DRATIO type for dynamic ratio rules - When download reaches threshold (GB), ratio must meet minRatio - Card header: \u4e0b\u8f7d\u91cf \u2265 XGB \u65f6\u5206\u4eab\u7387 \u2265 Y \u2192 \u5c01\u53f7/\u5220\u9664\u8d26\u53f7 - Card body: download threshold input + required ratio input - Preset: 100GB download, 1.0 ratio --- web/src/views/RiskRules.vue | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/web/src/views/RiskRules.vue b/web/src/views/RiskRules.vue index 7983e87..b45d99a 100644 --- a/web/src/views/RiskRules.vue +++ b/web/src/views/RiskRules.vue @@ -90,6 +90,7 @@ 考核周期 {{ rule.threshold }}天 + 下载量 ≥ {{ rule.threshold }}GB 时分享率 ≥ {{ rule.minRatio }} {{ metricLabel(rule.metric) }} {{ condLabel(rule.condition) }} {{ rule.threshold }}{{ rule.unit || '' }} → 封号/删除账号 @@ -122,6 +123,20 @@ + + +