riku
2023-08-29 71b1532d5a3609f3125e15fbe65e4b34bb6c4e8b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import axios from 'axios';
import { setInterceptors } from './config';
 
// const url = 'http://47.100.191.150:9031/';
const url = 'http://192.168.1.4:8081/';
 
//飞羽监管
const $http = axios.create({
  baseURL: url,
  timeout: 10000
});
 
//添加拦截器
setInterceptors($http);
 
export { $http };