云联一号 2 週間 前
コミット
a1a0483d45
1 ファイル変更2 行追加7 行削除
  1. 2 7
      vue.config.js

+ 2 - 7
vue.config.js

@@ -49,7 +49,7 @@ module.exports = {
       // 2. /store/his/* → 后端是 /his/* (前端 store/his 实际是 his)
       // 3. /his/fsXxx → 后端是 /store/xxx (his/fs 前缀映射到 store)
       // 4. /his_store/* → 后端是 /hisStore/* (下划线 vs 驼峰)
-      // 5. /admin/medical/* → 路由到 fs-admin(8003)
+      // 5. /admin/medical/* → 路由到 fs-saasadmin(8002)
       // 6. /fast_gpt/* → 后端是 /fastGpt/*
       // 7. /wx/wxSop* → 后端是 /qwSop/sopUserLogs*
       // 8. /wxSop/sopUserLogsWx → 后端是 /qwSop/sopUserLogs
@@ -148,12 +148,7 @@ module.exports = {
         changeOrigin: true,
         pathRewrite: { ['^' + process.env.VUE_APP_BASE_API + '/his_store']: '/hisStore' }
       },
-      // === /admin/medical/* → fs-admin(8003) ===
-      [process.env.VUE_APP_BASE_API + '/admin/medical']: {
-        target: 'http://localhost:8003',
-        changeOrigin: true,
-        pathRewrite: { ['^' + process.env.VUE_APP_BASE_API + '/admin/medical']: '/admin/medical' }
-      },
+      // === /admin/medical/* → 已在fs-saas(8006)上通过CompanyBridgeController(@Profile("company"))提供,无需单独代理到8002 ===
       // === /fast_gpt/* → /fastGpt/* ===
       [process.env.VUE_APP_BASE_API + '/fast_gpt']: {
         target: 'http://localhost:8006',