添加后台 Telegram 审计面板

This commit is contained in:
2569718930@qq.com
2026-05-20 17:12:32 +08:00
parent 66512d2623
commit 6f7e847b01
6 changed files with 554 additions and 0 deletions
+17
View File
@@ -126,4 +126,21 @@ export const opsApi = {
}>;
}>("/api/ops/training/accuracy");
},
telegramAudit() {
return opsFetch<{
anomalies: Array<{
telegram_id: number;
username: string;
chat_id: string;
status: string;
anomaly_type: "unbound" | "expired" | "trial_only";
reason: string;
email: string | null;
expires_at: string | null;
}>;
valid_count: number;
anomaly_count: number;
error?: string;
}>("/api/ops/telegram/members-audit");
},
};