jinhui.wang

接口修正

...@@ -5,9 +5,9 @@ const mimeMap = { ...@@ -5,9 +5,9 @@ const mimeMap = {
5 xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 5 xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
6 zip: 'application/zip' 6 zip: 'application/zip'
7 } 7 }
8 -// const baseUrl = 'https://imacuat.zmd.apac.fedex.com/IMAC2' 8 +const baseUrl = 'https://imacuat.zmd.apac.fedex.com/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({
......
...@@ -35,10 +35,10 @@ module.exports = { ...@@ -35,10 +35,10 @@ module.exports = {
35 proxy: { 35 proxy: {
36 // detail: https://cli.vuejs.org/config/#devserver-proxy 36 // detail: https://cli.vuejs.org/config/#devserver-proxy
37 [process.env.VUE_APP_BASE_API]: { 37 [process.env.VUE_APP_BASE_API]: {
38 - // target: `https://imacuat.zmd.apac.fedex.com/IMAC2`, 38 + target: `https://imacuat.zmd.apac.fedex.com/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]: ''
......