|
|
@@ -57,94 +57,9 @@ module.exports = {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
}
|
|
|
},
|
|
|
- // 以下路径前缀代理到 fs-company(8006) - 租户服务端
|
|
|
- // adminui前端API中这些路径只有fs-company有Controller
|
|
|
- [process.env.VUE_APP_BASE_API + '/adv']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/aicall']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/common']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/company']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/companyWorkflow']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/qwAssignRule']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/qwCustomerLink']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/qwGroupActual']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/qwGroupLiveCode']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/shop']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/workflow/lobster']: {
|
|
|
- target: 'http://localhost:8003',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
- [process.env.VUE_APP_BASE_API + '/workflow']: {
|
|
|
- target: 'http://localhost:8006',
|
|
|
- changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
- }
|
|
|
- },
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
// 默认所有其他请求代理到 fs-admin(8003) - 平台管理端
|
|
|
+ // 注意:fs-admin已依赖fs-saasadmin,所有@Profile("admin")的Controller都可用,无需跨服务
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
target: `http://localhost:8003`,
|
|
|
changeOrigin: true,
|