1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| /*
| * @Description:
| * @Author: 王旭
| * @Date: 2022-03-03 15:10:54
| * @LastEditTime: 2022-03-08 17:40:02
| * @LastEditors: 王旭
| */
| import axios from "axios";
| const service = axios.create({
| baseURL: BASE_PW_URL, // api的base_url
| timeout: 35000, // 请求超时时间
| headers: {
| "content-type": "application/json;charset=UTF-8",
| },
| // withCredentials: true,
| });
|
|
|
| export default service;
|
|