From ae21e0c3d005cb3a538f040271e17437cc18f1d2 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 30 三月 2023 19:31:51 +0800 Subject: [PATCH] fix 修复 oracle postgres 数据库日志表索引创建错误 --- 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