diff --git a/web/src/views/RiskRules.vue b/web/src/views/RiskRules.vue index 194779c..02b5f08 100644 --- a/web/src/views/RiskRules.vue +++ b/web/src/views/RiskRules.vue @@ -94,7 +94,7 @@ {{ typeLabel(rule.type) }} 考核周期 {{ rule.threshold }}天 - 无流量 > {{ rule.threshold }}天,且未登录 > {{ rule.loginDays }}天 + 无流量且未登录 > {{ rule.threshold }}天 下载量分级控制({{ (rule.levels||[]).length }} 级) 永久保留 ≥ {{ rankDisplay(rule.permRank) }} / 封存豁免 ≥ {{ rankDisplay(rule.sealExemptRank) }} {{ metricLabel(rule.metric) }} {{ condLabel(rule.condition) }} {{ rule.threshold }}{{ rule.unit || '' }} @@ -159,17 +159,12 @@ - + @@ -282,7 +277,7 @@ const presets = [ { name:'零活跃不登录封号', type:'KILL', metric:'days_since_last_login', threshold:7, unit:'天', condition:'GT', applicable:'new_account_30d', description:'零活跃新用户连续7天不登录即封号' }, { name:'零活跃注册天数封号', type:'KILL', metric:'days_since_registration', threshold:30, unit:'天', condition:'GT', applicable:'new_account_30d', description:'零活跃新用户注册满30天即封号' }, // 流量监控 - { name:'连续无流量封号', type:'TRAFFIC', metric:'days_since_last_traffic', threshold:90, unit:'天', loginDays:90, condition:'GT', description:'连续90天无流量且90天未登录即封号' }, + { name:'连续无流量封号', type:'TRAFFIC', metric:'days_since_last_traffic', threshold:90, unit:'天', condition:'GT', description:'连续90天无流量且未登录即封号' }, // H&R { name:'H&R 封号', type:'HD', metric:'hnr_count', threshold:5, unit:'次', condition:'GTE', description:'H&R违规次数达到5次即封号' }, // 新人考核 @@ -353,8 +348,7 @@ const ruleText = (r) => { const cond = condLabel(r.condition) const val = `${metric}${cond}${r.threshold}${r.unit||''}` if (r.type === 'TRAFFIC') { - const extra = r.loginDays > 0 ? `(且${r.loginDays}天未登录)` : '' - return `无流量:${val}${extra} → 封号/删除账号${appText}` + return `无流量且未登录:${val} → 封号/删除账号${appText}` } const levels = (r.levels||[]).map(l => `下载量≥${l.threshold}GB时分享率<${l.ratio}`).join(',') return `分享率:${levels} → 封号(缓刑7天)${appText}`