修改 order 模块端口号为 88

pull/1/head
sin 2019-04-09 21:08:20 +08:00
parent bb16a3e672
commit 702a16ac70
2 changed files with 18 additions and 5 deletions

View File

@ -15,7 +15,7 @@ export default {
},
'/order-api/': {
// target: 'http://180.167.213.26:18084/',
target: 'http://127.0.0.1:18084/',
target: 'http://127.0.0.1:18088/',
changeOrigin: true,
pathRewrite: {},
},

View File

@ -2,11 +2,24 @@
export default {
'/admin-api/': {
target: 'http://180.167.213.26:18083/',
target: 'http://api.shop.iocoder.cn:18099/admin-api',
changeOrigin: true,
pathRewrite: {
'^/admin-api': `/admin-web/admin-api`,
},
pathRewrite: {},
},
'/order-api/': {
target: 'http://api.shop.iocoder.cn:18099/order-api',
changeOrigin: true,
pathRewrite: {},
},
'/pay-api/': {
target: 'http://api.shop.iocoder.cn:18099/pay-api',
changeOrigin: true,
pathRewrite: {},
},
'/user-api/': {
target: 'http://api.shop.iocoder.cn:18099/user-api',
changeOrigin: true,
pathRewrite: {},
},
'/server/api/': {
target: 'https://preview.pro.ant.design/',