it-console/code/ts/后端辅助工具/target/axios/request.js

17 lines
422 B
JavaScript
Raw Normal View History

2023-02-13 08:52:44 +00:00
/*
* @Author: Kane
* @Date: 2023-02-13 15:53:45
* @LastEditors: Kane
* @LastEditTime: 2023-02-13 15:56:26
* @FilePath: //src/axios/request.ts
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
2023-02-13 16:23:26 +00:00
import axios from "axios";
const service = axios.create({
2023-02-13 08:52:44 +00:00
baseURL: "",
timeout: 10000,
2023-02-13 16:23:26 +00:00
timeoutErrorMessage: "请求超时!",
2023-02-13 08:52:44 +00:00
});
//# sourceMappingURL=request.js.map