@@ -267,7 +282,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:'天', condition:'GT', description:'连续90天无上传/下载流量即封号' },
+ { name:'连续无流量封号', type:'TRAFFIC', metric:'days_since_last_traffic', threshold:90, unit:'天', loginDays:90, condition:'GT', description:'连续90天无流量且90天未登录即封号' },
// H&R
{ name:'H&R 封号', type:'HD', metric:'hnr_count', threshold:5, unit:'次', condition:'GTE', description:'H&R违规次数达到5次即封号' },
// 新人考核
@@ -337,7 +352,10 @@ const ruleText = (r) => {
const metric = metricLabel(r.metric)
const cond = condLabel(r.condition)
const val = `${metric}${cond}${r.threshold}${r.unit||''}`
- if (r.type === 'DRATIO') {
+ if (r.type === 'TRAFFIC') {
+ const extra = r.loginDays > 0 ? `(且${r.loginDays}天未登录)` : ''
+ return `无流量:${val}${extra} →
封号/删除账号${appText}`
+ }
const levels = (r.levels||[]).map(l => `下载量≥${l.threshold}GB时分享率<${l.ratio}`).join(',')
return `分享率:${levels} →
封号(缓刑7天)${appText}`
}
diff --git a/web/src/views/SitePages.vue b/web/src/views/SitePages.vue
index a61910b..60100d9 100644
--- a/web/src/views/SitePages.vue
+++ b/web/src/views/SitePages.vue
@@ -104,29 +104,45 @@
暂无,点击添加
-
{{ entry.key }} - {{ keyLabel(entry.key) }}
-
- →
- {{ k }}
-
+
+
+
+
+
{{ entry.key }} - {{ keyLabel(entry.key) }}
删除
-
-
-
- {{ verifyResults[idx]?.success===true ? '✓' : verifyResults[idx]?.success===false ? '✗' : '验证' }}
+
+
+ 子页面({uid} 自动替换为用户UID):
+
+
+
+
+
+
+
+ 添加子页面
-
-
- {{ verifyResults[idx].message }}
- ({{ verifyResults[idx].responseTimeMs }}ms)
-
-
-
+
+
+
+
+
+
+ {{ verifyResults[idx]?.success===true ? '✓' : verifyResults[idx]?.success===false ? '✗' : '验证' }}
+
+
+
+ {{ verifyResults[idx].message }}
+ ({{ verifyResults[idx].responseTimeMs }}ms)
+
+
+
+
@@ -134,7 +150,7 @@