feat: 支持内容审计风险阈值配置

This commit is contained in:
lyen1688
2026-05-26 13:58:02 +08:00
parent 0cfabaa82e
commit 23f3d426c6
8 changed files with 216 additions and 1 deletions
+2
View File
@@ -24,6 +24,7 @@ export interface ContentModerationConfig {
all_groups: boolean
group_ids: number[]
record_non_hits: boolean
thresholds: Record<string, number>
worker_count: number
queue_size: number
block_status: number
@@ -98,6 +99,7 @@ export interface UpdateContentModerationConfig {
all_groups?: boolean
group_ids?: number[]
record_non_hits?: boolean
thresholds?: Record<string, number>
worker_count?: number
queue_size?: number
block_status?: number