|
|
@ -4,10 +4,10 @@ import vm from "../main";
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
|
|
|
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
|
|
|
const request = axios.create({
|
|
|
|
const request = axios.create({
|
|
|
|
baseURL: 'http://172.18.113.50:8080/zhapi',
|
|
|
|
//baseURL: 'http://172.18.113.50:8080/zhapi',
|
|
|
|
//baseURL: 'http://172.18.113.13:8080/zhapi', // 孙强
|
|
|
|
//baseURL: 'http://172.18.113.13:8080/zhapi', // 孙强
|
|
|
|
//baseURL: 'http://192.168.0.188:8888/zhapi',
|
|
|
|
//baseURL: 'http://192.168.0.188:8888/zhapi',
|
|
|
|
//baseURL: `http://${window.location.host}/zhapi`,
|
|
|
|
baseURL: `http://${window.location.host}/zhapi`,
|
|
|
|
timeout: 50000,
|
|
|
|
timeout: 50000,
|
|
|
|
headers: { 'content-type': 'application/json' },
|
|
|
|
headers: { 'content-type': 'application/json' },
|
|
|
|
})
|
|
|
|
})
|
|
|
|