实现登录态自动续期并优化扫码兼容性

This commit is contained in:
andy
2026-07-11 15:53:41 +08:00
parent 4870b6761e
commit ab4da9850b
14 changed files with 514 additions and 32 deletions

15
src/types/axios.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
import 'axios'
declare module 'axios' {
export interface AxiosRequestConfig<D = any> {
skipAuth?: boolean
skipAuthRefresh?: boolean
authRetry?: boolean
}
export interface InternalAxiosRequestConfig<D = any> {
skipAuth?: boolean
skipAuthRefresh?: boolean
authRetry?: boolean
}
}