mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-11-08 18:23:46 +08:00
update 优化 多租户插件初始化流程
This commit is contained in:
@@ -38,7 +38,6 @@ public class MybatisPlusConfig {
|
|||||||
TenantLineInnerInterceptor tenant = SpringUtils.getBean(TenantLineInnerInterceptor.class);
|
TenantLineInnerInterceptor tenant = SpringUtils.getBean(TenantLineInnerInterceptor.class);
|
||||||
interceptor.addInnerInterceptor(tenant);
|
interceptor.addInnerInterceptor(tenant);
|
||||||
} catch (BeansException ignore) {
|
} catch (BeansException ignore) {
|
||||||
ignore.printStackTrace();
|
|
||||||
}
|
}
|
||||||
// 数据权限处理
|
// 数据权限处理
|
||||||
interceptor.addInnerInterceptor(dataPermissionInterceptor());
|
interceptor.addInnerInterceptor(dataPermissionInterceptor());
|
||||||
|
|||||||
Reference in New Issue
Block a user