mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-01 16:29:29 +00:00
Merge pull request #3689 from DaydreamCoding/feat/usage-error-requests-alignment
feat(usage): 错误请求对齐用量明细(UI/排序/筛选/列设置)
This commit is contained in:
@@ -1689,6 +1689,11 @@ export interface UserErrorRequest {
|
||||
message: string
|
||||
key_name: string
|
||||
key_deleted: boolean
|
||||
client_ip?: string
|
||||
group_name?: string
|
||||
request_type?: number
|
||||
stream?: boolean
|
||||
user_agent?: string
|
||||
}
|
||||
|
||||
export interface UserErrorRequestDetail extends UserErrorRequest {
|
||||
@@ -1706,6 +1711,9 @@ export interface UserErrorListParams {
|
||||
status_code?: number
|
||||
category?: string
|
||||
api_key_id?: number
|
||||
// 服务端排序,列白名单见后端 opsErrorLogsOrderBy(created_at/model/status_code)
|
||||
sort_by?: string
|
||||
sort_order?: 'asc' | 'desc'
|
||||
}
|
||||
|
||||
export interface UsageQueryParams {
|
||||
|
||||
Reference in New Issue
Block a user