From d4b4eb400497079ec15c4db17bb674c48435f539 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 08 三月 2023 16:41:57 +0800 Subject: [PATCH] reset 回退 hutool 版本到 5.8.12 高版本有bug --- ruoyi-common/ruoyi-common-satoken/src/main/java/com/ruoyi/common/satoken/utils/LoginHelper.java | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index c660bc8..4e3f1c8 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ <satoken.version>1.34.0</satoken.version> <mybatis-plus.version>3.5.3.1</mybatis-plus.version> <p6spy.version>3.9.1</p6spy.version> - <hutool.version>5.8.14</hutool.version> + <hutool.version>5.8.12</hutool.version> <okhttp.version>4.10.0</okhttp.version> <spring-boot-admin.version>3.0.0</spring-boot-admin.version> <redisson.version>3.20.0</redisson.version> 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