feat(logs): add long-press request log download and hints

This commit is contained in:
Supra4E8C
2025-12-27 00:30:18 +08:00
parent 7a65e03ad3
commit 2dd3f233d3
4 changed files with 143 additions and 1 deletions

View File

@@ -39,4 +39,10 @@ export const logsApi = {
responseType: 'blob',
timeout: LOGS_TIMEOUT_MS
}),
downloadRequestLogById: (id: string) =>
apiClient.getRaw(`/request-log-by-id/${encodeURIComponent(id)}`, {
responseType: 'blob',
timeout: LOGS_TIMEOUT_MS
}),
};