refactor: refactor axios

This commit is contained in:
xingyu4j
2022-11-03 16:55:01 +08:00
parent 9adc84c396
commit 3eb11e2658
49 changed files with 314 additions and 412 deletions

View File

@@ -1,9 +1,7 @@
import { useAxios } from '@/hooks/web/useAxios'
import request from '@/config/axios'
import { getRefreshToken } from '@/utils/auth'
import type { UserLoginVO } from './types'
const request = useAxios()
export interface CodeImgResult {
captchaOnOff: boolean
img: string