问题:TenantRoutingProperties 定义了配置但未被使用 解决方案: 1. TenantAwareLoadBalancer 注入 TenantRoutingProperties - 使用配置的 tenantHeader 名称 - 使用配置的 buildTenantGroup 方法 - 使用配置的 isSharedService 判断 - 使用配置的 isFallbackToShared 策略 2. 新增功能 - 支持 enabled=false 禁用租户路由 - 共享服务跳过租户过滤 - 可配置是否回退到共享实例 3. 更新测试适配新构造函数
28 lines
605 B
JSON
28 lines
605 B
JSON
{
|
|
"name": "fund-mobile",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port 8080",
|
|
"build": "vue-tsc && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.6.0",
|
|
"pinia": "^2.1.7",
|
|
"vant": "^4.9.22",
|
|
"vue": "^3.4.0",
|
|
"vue-router": "^4.2.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.0",
|
|
"@vant/auto-import-resolver": "^1.3.0",
|
|
"@vitejs/plugin-vue": "^5.0.0",
|
|
"typescript": "^5.3.0",
|
|
"unplugin-vue-components": "^0.26.0",
|
|
"vite": "^5.0.0",
|
|
"vue-tsc": "^1.8.0"
|
|
}
|
|
}
|