mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
1. 抽取获取在线用户(可获取指定tenantId下用户)
2. 停用租户时,将所有租户下的用户token清空
This commit is contained in:
parent
0fcd369232
commit
bba180d61c
@ -38,6 +38,7 @@ public class TenantKeyPrefixHandler extends KeyPrefixHandler {
|
||||
}
|
||||
|
||||
String tenantId = TENANT_ID.get();
|
||||
TENANT_ID.remove();
|
||||
if (tenantId == null) {
|
||||
tenantId = TenantHelper.getTenantId();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user