This commit is contained in:
oneao committed 2025-12-15 17:31:19 +08:00
1 parent 52112bd277
commit 1da52dc4f4
66 files changed
+3294 -721

No files matched your search

@@ -124,13 +124,4 @@ function isDownloadResponse(headers: any): boolean {
return /application\/(?:octet-stream|force-download|pdf|vnd.ms-excel|msexcel|OCTET-STREAM)/.test(contentType || '')
}
function parseJsonOrReturnString(input: any) {
try {
return JSON.parse(input)
}
catch {
return input
}
}
export default axiosInstance