2019-03-10 16:40:16 +08:00
|
|
|
// 开发环境,的代理配置
|
|
|
|
|
2019-05-09 00:10:44 +08:00
|
|
|
module.exports = {
|
2020-04-26 19:52:14 +08:00
|
|
|
'/system-api/': {
|
2019-04-22 19:11:23 +08:00
|
|
|
target: 'http://127.0.0.1:18083/',
|
2019-03-31 00:12:15 +08:00
|
|
|
// target: 'http://180.167.213.26:18083/',
|
2019-03-10 16:40:16 +08:00
|
|
|
changeOrigin: true,
|
|
|
|
pathRewrite: {},
|
|
|
|
},
|
2019-04-01 18:33:11 +08:00
|
|
|
'/product-api/': {
|
2019-04-16 23:26:56 +08:00
|
|
|
// target: 'http://180.167.213.26:18083/',
|
|
|
|
target: 'http://127.0.0.1:18081/',
|
2019-04-01 18:33:11 +08:00
|
|
|
changeOrigin: true,
|
|
|
|
pathRewrite: {},
|
|
|
|
},
|
2019-03-24 16:55:52 +08:00
|
|
|
'/order-api/': {
|
2019-04-05 17:54:19 +08:00
|
|
|
// target: 'http://180.167.213.26:18084/',
|
2019-04-09 21:08:20 +08:00
|
|
|
target: 'http://127.0.0.1:18088/',
|
2019-03-10 16:40:16 +08:00
|
|
|
changeOrigin: true,
|
2019-03-24 16:55:52 +08:00
|
|
|
pathRewrite: {},
|
2019-03-10 16:40:16 +08:00
|
|
|
},
|
2019-03-31 00:12:15 +08:00
|
|
|
'/promotion-api/': {
|
2019-04-06 00:57:00 +08:00
|
|
|
// target: 'http://180.167.213.26:18085/',
|
|
|
|
target: 'http://127.0.0.1:18085/',
|
2019-03-31 00:12:15 +08:00
|
|
|
changeOrigin: true,
|
|
|
|
pathRewrite: {},
|
|
|
|
},
|
2019-05-08 18:57:12 +08:00
|
|
|
'/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: {},
|
|
|
|
},
|
2019-03-10 16:40:16 +08:00
|
|
|
};
|