2020-12-23 11:14:35 +08:00
|
|
|
|
export default {
|
|
|
|
|
dev: {
|
2022-03-10 14:24:13 +08:00
|
|
|
|
// '/api/wfap/v1/audit/bill/find/by/procid': {
|
|
|
|
|
// target: 'http://10.242.37.148:8891/',//审批单 dev环境自动审批,暂时用不到
|
|
|
|
|
// changeOrigin: true,
|
|
|
|
|
// pathRewrite: { '^': '' },
|
|
|
|
|
// },
|
|
|
|
|
'/api/*': {
|
2025-04-14 09:18:42 +08:00
|
|
|
|
// target: 'http://10.242.37.148:18022',//连接天宫的ng
|
|
|
|
|
target: 'http://localhost:3000',//连接天宫的ng
|
2020-12-23 11:14:35 +08:00
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '^': '' },
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-03-10 14:24:13 +08:00
|
|
|
|
UAT: {
|
2025-04-14 09:18:42 +08:00
|
|
|
|
'/api/core-service-ebtp-userinfo': {
|
|
|
|
|
target: 'http://localhost:18023',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '/api/core-service-ebtp-userinfo': '' },
|
|
|
|
|
},
|
|
|
|
|
'/api/biz-service-ebtp-bid': {
|
|
|
|
|
target: 'http://localhost:18003',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { 'biz-service-ebtp-bid': '' },
|
|
|
|
|
},
|
|
|
|
|
'/api/biz-service-ebtp-extend': {
|
|
|
|
|
target: 'http://localhost:18018',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '/api/biz-service-ebtp-extend': '' },
|
|
|
|
|
},
|
|
|
|
|
'/api/biz-service-ebtp-project': {
|
|
|
|
|
target: 'http://localhost:18012',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '/api/biz-service-ebtp-project': '' },
|
|
|
|
|
},
|
2025-05-13 10:15:36 +08:00
|
|
|
|
'/api/sys-manager-ebtp-project': {
|
2025-05-26 17:44:07 +08:00
|
|
|
|
target: 'http://localhost:18030',
|
2025-05-13 10:15:36 +08:00
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '/api/sys-manager-ebtp-project': '' },
|
|
|
|
|
},
|
2025-05-26 17:44:07 +08:00
|
|
|
|
'/api/biz-service-ebtp-rsms': {
|
|
|
|
|
target: 'http://localhost:18014',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '/api/biz-service-ebtp-rsms': '' },
|
|
|
|
|
},
|
2022-03-10 14:24:13 +08:00
|
|
|
|
// '/api/wfap/v1/audit/bill/find/by/procid': {
|
|
|
|
|
// target: 'http://10.242.31.158:8891/',//审批单 uat环境自动审批,暂时用不到
|
|
|
|
|
// changeOrigin: true,
|
|
|
|
|
// pathRewrite: { '^': '' },
|
|
|
|
|
// },
|
2025-04-14 09:18:42 +08:00
|
|
|
|
// '/living/api/*': {
|
|
|
|
|
// // target: 'https://ai.cubigdata.cn:5001',//连接天宫的ng
|
|
|
|
|
// target: 'http://localhost:3000',//连接天宫的ng
|
|
|
|
|
// changeOrigin: true,
|
|
|
|
|
// pathRewrite: { '/living/api': '' },
|
|
|
|
|
// },
|
|
|
|
|
// '/api/*': {
|
|
|
|
|
// target: 'http://10.242.31.158:18022',//连接天宫的ng
|
|
|
|
|
// changeOrigin: true,
|
|
|
|
|
// pathRewrite: { '^': '' },
|
|
|
|
|
// },
|
2022-03-10 14:24:13 +08:00
|
|
|
|
// '/doc/v1.0/*': {
|
|
|
|
|
// target: 'http://10.242.31.158:8806',//连接天宫的ng
|
|
|
|
|
// changeOrigin: true,
|
|
|
|
|
// pathRewrite: { '^': '' },
|
|
|
|
|
// },
|
|
|
|
|
},
|
|
|
|
|
sim: {
|
|
|
|
|
// '/api/wfap/v1/audit/bill/find/by/procid': {
|
|
|
|
|
// target: 'http://10.242.31.158:8891/',//审批单 uat环境自动审批,暂时用不到
|
|
|
|
|
// changeOrigin: true,
|
|
|
|
|
// pathRewrite: { '^': '' },
|
|
|
|
|
// },
|
|
|
|
|
'/api/*': {
|
|
|
|
|
target: 'http://10.242.31.54:18022',//连接天宫的ng
|
2020-12-23 11:14:35 +08:00
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '^': '' },
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-03-10 14:24:13 +08:00
|
|
|
|
prod: {
|
|
|
|
|
'/api/*': {
|
|
|
|
|
target: 'http://uscm.unicom.local:18022',//连接天宫的ng
|
2020-12-23 11:14:35 +08:00
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: { '^': '' },
|
|
|
|
|
},
|
2022-03-10 14:24:13 +08:00
|
|
|
|
}
|
2020-12-23 11:14:35 +08:00
|
|
|
|
};
|
2022-03-10 14:24:13 +08:00
|
|
|
|
|