上传代码

This commit is contained in:
sunyu
2025-04-14 09:18:42 +08:00
parent 8e0732bddb
commit a1122897f8
5 changed files with 586 additions and 101 deletions

View File

@ -6,27 +6,49 @@ export default {
// pathRewrite: { '^': '' },
// },
'/api/*': {
target: 'http://10.242.37.148:18022',//连接天宫的ng
// target: 'http://10.242.37.148:18022',//连接天宫的ng
target: 'http://localhost:3000',//连接天宫的ng
changeOrigin: true,
pathRewrite: { '^': '' },
},
},
UAT: {
'/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': '' },
},
// '/api/wfap/v1/audit/bill/find/by/procid': {
// target: 'http://10.242.31.158:8891/',//审批单 uat环境自动审批暂时用不到
// changeOrigin: true,
// pathRewrite: { '^': '' },
// },
'/living/api/*': {
target: 'https://ai.cubigdata.cn:5001',//连接天宫的ng
changeOrigin: true,
pathRewrite: { '/living/api': '' },
},
'/api/*': {
target: 'http://10.242.31.158:18022',//连接天宫的ng
changeOrigin: true,
pathRewrite: { '^': '' },
},
// '/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: { '^': '' },
// },
// '/doc/v1.0/*': {
// target: 'http://10.242.31.158:8806',//连接天宫的ng
// changeOrigin: true,