mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-30 08:22:34 +00:00
fix: 过滤入口拒绝日志并强化鉴权边界
This commit is contained in:
@@ -935,10 +935,6 @@ export interface OpsErrorLog {
|
||||
request_type?: number | null
|
||||
user_agent?: string
|
||||
|
||||
// 已删除 KEY 所有者(INVALID_API_KEY 归因快照):认证失败行 user_id 为空,
|
||||
// 用户列以此回退显示所有者
|
||||
deleted_key_owner_user_id?: number | null
|
||||
deleted_key_owner_email?: string | null
|
||||
}
|
||||
|
||||
export interface OpsErrorDetail extends OpsErrorLog {
|
||||
@@ -958,11 +954,6 @@ export interface OpsErrorDetail extends OpsErrorLog {
|
||||
|
||||
is_business_limited: boolean
|
||||
|
||||
// Deleted key owner info (INVALID_API_KEY attribution);
|
||||
// owner user_id/email 已上移到 OpsErrorLog(列表用户列回退)
|
||||
attempted_key_prefix?: string | null
|
||||
deleted_key_name?: string | null
|
||||
|
||||
// Bound (non-deleted) key prefix, snapshotted at error time
|
||||
api_key_prefix?: string | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user