|
@@ -292,8 +292,6 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
|
|
|
|
|
|
|
|
export const http = createAxios();
|
|
export const http = createAxios();
|
|
|
|
|
|
|
|
-export const userRequest = createAxios({ requestOptions: { apiUrl: 'http://192.168.1.102:8800' } });
|
|
|
|
|
-
|
|
|
|
|
// 项目,多个不同 api 地址,直接在这里导出多个
|
|
// 项目,多个不同 api 地址,直接在这里导出多个
|
|
|
// src/api ts 里面接口,就可以单独使用这个请求,
|
|
// src/api ts 里面接口,就可以单独使用这个请求,
|
|
|
// import { httpTwo } from '@/utils/http/axios'
|
|
// import { httpTwo } from '@/utils/http/axios'
|