|
|
@ -96,9 +96,13 @@ public class SysLoginService {
|
|
|
|
// 超级管理员 登出清除动态租户
|
|
|
|
// 超级管理员 登出清除动态租户
|
|
|
|
TenantHelper.clearDynamic();
|
|
|
|
TenantHelper.clearDynamic();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
StpUtil.logout();
|
|
|
|
|
|
|
|
recordLogininfor(loginUser.getTenantId(), loginUser.getUsername(), Constants.LOGOUT, MessageUtils.message("user.logout.success"));
|
|
|
|
recordLogininfor(loginUser.getTenantId(), loginUser.getUsername(), Constants.LOGOUT, MessageUtils.message("user.logout.success"));
|
|
|
|
} catch (NotLoginException ignored) {
|
|
|
|
} catch (NotLoginException ignored) {
|
|
|
|
|
|
|
|
} finally {
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
StpUtil.logout();
|
|
|
|
|
|
|
|
} catch (NotLoginException ignored) {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|