first commit

This commit is contained in:
刘通
2024-10-30 15:10:27 +08:00
parent 35e92433e3
commit 9dde3cf3c2
114 changed files with 14584 additions and 1979 deletions

View File

@@ -5,7 +5,7 @@ switch (process.env.NODE_ENV) {
case 'development': // 开发环境代理地址
proxyObj = {
'/Riskmanage': {
target: 'http://47.102.125.25:80', // 开发环境
target: 'http://127.0.0.1:8082', // 开发环境
changeOrigin: true, // 是否跨域
pathRewrite: {
'^/Riskmanage': '/Riskmanage'
@@ -13,7 +13,7 @@ switch (process.env.NODE_ENV) {
},
'/trading': {
target: 'http://47.242.85.45:80', // 开发环境
target: 'http://127.0.0.1:8083', // 开发环境
changeOrigin: true, // 是否跨域
pathRewrite: {
'^/trading': '/trading'
@@ -84,6 +84,25 @@ switch (process.env.NODE_ENV) {
}
}
break
case 'produce': // 生产环境
proxyObj = {
'/Riskmanage': {
target: 'http://47.99.93.74:8099', // 生产环境
changeOrigin: true, // 是否跨域
pathRewrite: {
'^/Riskmanage': '/Riskmanage'
}
},
'/trading': {
target: 'http://47.99.93.74:8099', // 开发环境
changeOrigin: true, // 是否跨域
pathRewrite: {
'^/trading': '/trading'
}
}
}
break
}
module.exports = proxyObj