|
|
@ -1,4 +1,3 @@ |
|
|
|
import type { Method, AxiosRequestConfig } from 'axios'; |
|
|
|
|
|
|
|
interface Obj { |
|
|
|
interface Obj { |
|
|
|
[key: string]: any; |
|
|
|
[key: string]: any; |
|
|
|
} |
|
|
|
} |
|
|
@ -17,7 +16,7 @@ declare const Dec: { |
|
|
|
personal: { |
|
|
|
personal: { |
|
|
|
username: string; |
|
|
|
username: string; |
|
|
|
}; |
|
|
|
}; |
|
|
|
reqByEncrypt: (method: Method, url: string, data?: any, config?: AxiosRequestConfig) => {}, |
|
|
|
reqByEncrypt: (method: AxiosType.X_Method, url: string, data?: any, config?: AxiosType.X_AxiosRequestConfig) => {}, |
|
|
|
socketEmit: (type: string, name: string, callback: (re: any) => void) => void; |
|
|
|
socketEmit: (type: string, name: string, callback: (re: any) => void) => void; |
|
|
|
// req
|
|
|
|
// req
|
|
|
|
reqGet: RequestFunction; |
|
|
|
reqGet: RequestFunction; |
|
|
|