admin-web 接入新的登陆接口

This commit is contained in:
YunaiV
2020-07-04 21:35:15 +08:00
parent 41514100e0
commit d89e5bad98
4 changed files with 15 additions and 37 deletions

View File

@@ -1,40 +1,10 @@
// 开发环境,的代理配置
module.exports = {
'/system-api/': {
'/management-api/': {
target: 'http://127.0.0.1:18083/',
// target: 'http://180.167.213.26:18083/',
changeOrigin: true,
pathRewrite: {},
},
'/product-api/': {
// target: 'http://180.167.213.26:18083/',
target: 'http://127.0.0.1:18081/',
changeOrigin: true,
pathRewrite: {},
},
'/order-api/': {
// target: 'http://180.167.213.26:18084/',
target: 'http://127.0.0.1:18088/',
changeOrigin: true,
pathRewrite: {},
},
'/promotion-api/': {
// target: 'http://180.167.213.26:18085/',
target: 'http://127.0.0.1:18085/',
changeOrigin: true,
pathRewrite: {},
},
'/user-api/': {
// target: 'http://180.167.213.26:18085/',
target: 'http://127.0.0.1:18082/',
changeOrigin: true,
pathRewrite: {},
},
'/pay-api/': {
// target: 'http://180.167.213.26:18085/',
target: 'http://127.0.0.1:18084/',
changeOrigin: true,
pathRewrite: {},
},
};