问题:TenantRoutingProperties 定义了配置但未被使用 解决方案: 1. TenantAwareLoadBalancer 注入 TenantRoutingProperties - 使用配置的 tenantHeader 名称 - 使用配置的 buildTenantGroup 方法 - 使用配置的 isSharedService 判断 - 使用配置的 isFallbackToShared 策略 2. 新增功能 - 支持 enabled=false 禁用租户路由 - 共享服务跳过租户过滤 - 可配置是否回退到共享实例 3. 更新测试适配新构造函数
25 lines
1.3 KiB
Plaintext
25 lines
1.3 KiB
Plaintext
com/fundplatform/cust/controller/ContactController.class
|
|
com/fundplatform/cust/data/mapper/CustomerContactMapper.class
|
|
com/fundplatform/cust/aop/ApiLogAspect.class
|
|
com/fundplatform/cust/service/impl/CustomerServiceImpl.class
|
|
com/fundplatform/cust/data/service/CustomerDataService.class
|
|
com/fundplatform/cust/data/service/CustomerContactDataService.class
|
|
com/fundplatform/cust/data/mapper/CustomerMapper.class
|
|
com/fundplatform/cust/service/ContactService.class
|
|
com/fundplatform/cust/service/CustomerService.class
|
|
com/fundplatform/cust/dto/CustomerCreateDTO.class
|
|
com/fundplatform/cust/vo/ContactVO.class
|
|
com/fundplatform/cust/dto/CustomerUpdateDTO.class
|
|
com/fundplatform/cust/dto/ContactDTO.class
|
|
com/fundplatform/cust/config/MybatisPlusConfig$1.class
|
|
com/fundplatform/cust/data/entity/Customer.class
|
|
com/fundplatform/cust/data/entity/CustomerContact.class
|
|
com/fundplatform/cust/controller/HealthController.class
|
|
com/fundplatform/cust/vo/CustomerVO.class
|
|
com/fundplatform/cust/CustApplication.class
|
|
com/fundplatform/cust/config/MybatisPlusConfig.class
|
|
com/fundplatform/cust/service/impl/ContactServiceImpl.class
|
|
com/fundplatform/cust/data/service/impl/CustomerContactDataServiceImpl.class
|
|
com/fundplatform/cust/controller/CustomerController.class
|
|
com/fundplatform/cust/feign/SysServiceClient.class
|