|
@@ -7,7 +7,7 @@ const qs=require('querystring');
|
|
|
const isLocal = window.location.hostname.indexOf('localhost')!=-1;
|
|
|
const qhost = isLocal?host:'';
|
|
|
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
|
-axios.defaults.baseURL = host; //默认地址
|
|
|
+//axios.defaults.baseURL = host; //默认地址
|
|
|
// axios.defaults.timeout = 60000; //请求超时
|
|
|
|
|
|
|