Showing
3 changed files
with
6 additions
and
6 deletions
| ... | @@ -10,9 +10,9 @@ const service = axios.create({ | ... | @@ -10,9 +10,9 @@ const service = axios.create({ |
| 10 | // axios中请求配置有baseURL选项,表示请求URL公共部分 | 10 | // axios中请求配置有baseURL选项,表示请求URL公共部分 |
| 11 | //baseURL: process.env.VUE_APP_BASE_API, | 11 | //baseURL: process.env.VUE_APP_BASE_API, |
| 12 | //baseURL: 'http://192.168.1.45:8080', | 12 | //baseURL: 'http://192.168.1.45:8080', |
| 13 | - // baseURL: `http://47.103.140.98:9002`,s | 13 | + baseURL: `http://47.103.140.98:9002`, |
| 14 | // baseURL: 'https://imacuat.zmd.apac.fedex.com:9002/IMAC2', | 14 | // baseURL: 'https://imacuat.zmd.apac.fedex.com:9002/IMAC2', |
| 15 | - baseURL: 'http://192.168.1.134:18080', | 15 | + // baseURL: 'http://192.168.1.134:18080', |
| 16 | 16 | ||
| 17 | // 超时 | 17 | // 超时 |
| 18 | timeout: 30000 | 18 | timeout: 30000 | ... | ... |
| ... | @@ -6,8 +6,8 @@ const mimeMap = { | ... | @@ -6,8 +6,8 @@ const mimeMap = { |
| 6 | zip: 'application/zip' | 6 | zip: 'application/zip' |
| 7 | } | 7 | } |
| 8 | // const baseURL = 'https://imacuat.zmd.apac.fedex.com:9002/IMAC2' | 8 | // const baseURL = 'https://imacuat.zmd.apac.fedex.com:9002/IMAC2' |
| 9 | -// const baseUrl = 'http://47.103.140.98:9002' | 9 | +const baseUrl = 'http://47.103.140.98:9002' |
| 10 | -const baseUrl = 'http://192.168.1.134:18080' | 10 | +// const baseUrl = 'http://192.168.1.134:18080' |
| 11 | export function downLoadZip(str, filename) { | 11 | export function downLoadZip(str, filename) { |
| 12 | var url = baseUrl + str | 12 | var url = baseUrl + str |
| 13 | axios({ | 13 | axios({ | ... | ... |
| ... | @@ -37,8 +37,8 @@ module.exports = { | ... | @@ -37,8 +37,8 @@ module.exports = { |
| 37 | [process.env.VUE_APP_BASE_API]: { | 37 | [process.env.VUE_APP_BASE_API]: { |
| 38 | // target: `https://imacuat.zmd.apac.fedex.com:9002/IMAC2`, | 38 | // target: `https://imacuat.zmd.apac.fedex.com:9002/IMAC2`, |
| 39 | // target: `http://192.168.1.45:8080`, | 39 | // target: `http://192.168.1.45:8080`, |
| 40 | - // target: `http://47.103.140.98:9002`, | 40 | + target: `http://47.103.140.98:9002`, |
| 41 | - target: `http://192.168.1.134:18080`, | 41 | + // target: `http://192.168.1.134:18080`, |
| 42 | changeOrigin: true, | 42 | changeOrigin: true, |
| 43 | pathRewrite: { | 43 | pathRewrite: { |
| 44 | ['^' + process.env.VUE_APP_BASE_API]: '' | 44 | ['^' + process.env.VUE_APP_BASE_API]: '' | ... | ... |
-
Please register or login to post a comment