|
|
@ -3,13 +3,13 @@ import axios from 'axios'; |
|
|
|
// axios.defaults.baseURL='http://139.9.247.137/msdw';
|
|
|
|
// axios.defaults.baseURL='http://139.9.247.137/msdw';
|
|
|
|
// axios.defaults.baseURL='https://www.feifanhitech.com/msdw';
|
|
|
|
// axios.defaults.baseURL='https://www.feifanhitech.com/msdw';
|
|
|
|
// axios.defaults.baseURL='http://www.zxyicloud.com/msdw';
|
|
|
|
// axios.defaults.baseURL='http://www.zxyicloud.com/msdw';
|
|
|
|
axios.defaults.baseURL='http://47.107.237.129/msdw'; |
|
|
|
axios.defaults.baseURL='http://zxyicloud.com/msdw'; |
|
|
|
|
|
|
|
|
|
|
|
//token为登录时,账号密码正确,服务端res中的数据
|
|
|
|
//token为登录时,账号密码正确,服务端res中的数据
|
|
|
|
//joggle为上传文件地址
|
|
|
|
//joggle为上传文件地址
|
|
|
|
// export const joggle='https://www.feifanhitech.com/msdw/aliyun/uploadFiles';
|
|
|
|
// export const joggle='https://www.feifanhitech.com/msdw/aliyun/uploadFiles';
|
|
|
|
// export const joggle='http://www.zxyicloud.com/msdw/aliyun/uploadFiles';
|
|
|
|
// export const joggle='http://www.zxyicloud.com/msdw/aliyun/uploadFiles';
|
|
|
|
export const joggle='http://47.107.237.129/msdw/aliyun/uploadFiles'; |
|
|
|
export const joggle='http://zxyicloud.com/msdw/aliyun/uploadFiles'; |
|
|
|
axios.interceptors.request.use((req)=>{ |
|
|
|
axios.interceptors.request.use((req)=>{ |
|
|
|
// console.log('请求拦截器拦截的数据:req',req)
|
|
|
|
// console.log('请求拦截器拦截的数据:req',req)
|
|
|
|
const token = sessionStorage.getItem('token'); |
|
|
|
const token = sessionStorage.getItem('token'); |
|
|
|