|
|
|
@ -3,10 +3,10 @@ import vm from '../main'
|
|
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
|
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
|
|
|
|
const request = axios.create({
|
|
|
|
|
// baseURL: 'http://50.146.63.43:1129/hjapi',
|
|
|
|
|
baseURL: 'http://50.146.63.43:1129/hjapi',
|
|
|
|
|
// baseURL: 'http://121.41.91.94:12002/hjapi',
|
|
|
|
|
//baseURL: `http://${window.location.host}/hjapi`,
|
|
|
|
|
baseURL: 'http://121.41.91.94:12524/hjapi/', //外网
|
|
|
|
|
// baseURL: 'http://121.41.91.94:12524/hjapi/', //外网
|
|
|
|
|
timeout: 50000,
|
|
|
|
|
headers: { 'content-type': 'application/json' }
|
|
|
|
|
})
|
|
|
|
|