jinhui.wang

配置更新

......@@ -10,9 +10,9 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
//baseURL: process.env.VUE_APP_BASE_API,
//baseURL: 'http://192.168.1.45:8080',
// baseURL: `http://47.103.140.98:9002`,s
baseURL: `http://47.103.140.98:9002`,
// baseURL: 'https://imacuat.zmd.apac.fedex.com:9002/IMAC2',
baseURL: 'http://192.168.1.134:18080',
// baseURL: 'http://192.168.1.134:18080',
// 超时
timeout: 30000
......
......@@ -6,8 +6,8 @@ const mimeMap = {
zip: 'application/zip'
}
// const baseURL = 'https://imacuat.zmd.apac.fedex.com:9002/IMAC2'
// const baseUrl = 'http://47.103.140.98:9002'
const baseUrl = 'http://192.168.1.134:18080'
const baseUrl = 'http://47.103.140.98:9002'
// const baseUrl = 'http://192.168.1.134:18080'
export function downLoadZip(str, filename) {
var url = baseUrl + str
axios({
......
......@@ -37,8 +37,8 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: {
// target: `https://imacuat.zmd.apac.fedex.com:9002/IMAC2`,
// target: `http://192.168.1.45:8080`,
// target: `http://47.103.140.98:9002`,
target: `http://192.168.1.134:18080`,
target: `http://47.103.140.98:9002`,
// target: `http://192.168.1.134:18080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......