|
@@ -1,6 +1,7 @@
|
|
|
package cn.tr.module.sys.tenant.service;
|
|
package cn.tr.module.sys.tenant.service;
|
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
+import cn.tr.core.strategy.LoginUserStrategy;
|
|
|
import cn.tr.core.tenant.TenantContextHolder;
|
|
import cn.tr.core.tenant.TenantContextHolder;
|
|
|
import cn.tr.module.sys.tenant.dto.*;
|
|
import cn.tr.module.sys.tenant.dto.*;
|
|
|
import cn.tr.module.sys.tenant.vo.SysTenantCommonVO;
|
|
import cn.tr.module.sys.tenant.vo.SysTenantCommonVO;
|
|
@@ -83,7 +84,7 @@ public interface ISysTenantService {
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
default Set<SysMenuDTO> currentTenantMenus() {
|
|
default Set<SysMenuDTO> currentTenantMenus() {
|
|
|
- return getTenantMenus(TenantContextHolder.getTenantId());
|
|
|
|
|
|
|
+ return getTenantMenus(LoginUserStrategy.tr.getTenantId());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
;
|
|
;
|