2023-02-13 16:52:44 +08:00
|
|
|
/*
|
|
|
|
* @Author: Kane
|
|
|
|
* @Date: 2023-02-13 15:53:45
|
|
|
|
* @LastEditors: Kane
|
2023-02-14 00:25:06 +08:00
|
|
|
* @LastEditTime: 2023-02-13 22:41:50
|
2023-02-13 16:52:44 +08:00
|
|
|
* @FilePath: /后端辅助工具/src/axios/request.ts
|
2023-02-14 00:25:06 +08:00
|
|
|
* @Description:
|
|
|
|
*
|
|
|
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
2023-02-13 16:52:44 +08:00
|
|
|
*/
|
2023-02-14 00:25:06 +08:00
|
|
|
import axios, {AxiosInstance, AxiosRequestConfig, AxiosResponse} from 'axios';
|
2023-02-13 16:52:44 +08:00
|
|
|
|
2023-02-14 00:25:06 +08:00
|
|
|
// const service = axios.create({
|
|
|
|
// baseURL: "",
|
|
|
|
// timeout: 10000,
|
|
|
|
// timeoutErrorMessage: "请求超时!",
|
|
|
|
// });
|
2023-02-13 16:52:44 +08:00
|
|
|
|
|
|
|
|