From c00c9ba386b367deb76fa438eaed9ef5dd371d03 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 27 三月 2023 14:00:21 +0800 Subject: [PATCH] !314 遗漏数据验证后return Merge pull request !314 from Yjoioooo/5.X --- ruoyi-common/ruoyi-common-satoken/src/main/java/com/ruoyi/common/satoken/utils/LoginHelper.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/ruoyi-common-satoken/src/main/java/com/ruoyi/common/satoken/utils/LoginHelper.java b/ruoyi-common/ruoyi-common-satoken/src/main/java/com/ruoyi/common/satoken/utils/LoginHelper.java index 93a614d..cecde85 100644 --- a/ruoyi-common/ruoyi-common-satoken/src/main/java/com/ruoyi/common/satoken/utils/LoginHelper.java +++ b/ruoyi-common/ruoyi-common-satoken/src/main/java/com/ruoyi/common/satoken/utils/LoginHelper.java @@ -108,7 +108,7 @@ public static String getTenantId() { String tenantId; try { - tenantId =(String) SaHolder.getStorage().get(TENANT_KEY); + tenantId = (String) SaHolder.getStorage().get(TENANT_KEY); if (ObjectUtil.isNull(tenantId)) { tenantId = (String) StpUtil.getExtra(TENANT_KEY); SaHolder.getStorage().set(TENANT_KEY, tenantId); -- Gitblit v1.9.3