reset 回退 hutool 版本到 5.8.12 高版本有bug

feature/model
疯狂的狮子li 2 years ago
parent 3cd8b6da30
commit d4b4eb4004

@ -27,7 +27,7 @@
<satoken.version>1.34.0</satoken.version> <satoken.version>1.34.0</satoken.version>
<mybatis-plus.version>3.5.3.1</mybatis-plus.version> <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
<p6spy.version>3.9.1</p6spy.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> <okhttp.version>4.10.0</okhttp.version>
<spring-boot-admin.version>3.0.0</spring-boot-admin.version> <spring-boot-admin.version>3.0.0</spring-boot-admin.version>
<redisson.version>3.20.0</redisson.version> <redisson.version>3.20.0</redisson.version>

@ -108,7 +108,7 @@ public class LoginHelper {
public static String getTenantId() { public static String getTenantId() {
String tenantId; String tenantId;
try { try {
tenantId =(String) SaHolder.getStorage().get(TENANT_KEY); tenantId = (String) SaHolder.getStorage().get(TENANT_KEY);
if (ObjectUtil.isNull(tenantId)) { if (ObjectUtil.isNull(tenantId)) {
tenantId = (String) StpUtil.getExtra(TENANT_KEY); tenantId = (String) StpUtil.getExtra(TENANT_KEY);
SaHolder.getStorage().set(TENANT_KEY, tenantId); SaHolder.getStorage().set(TENANT_KEY, tenantId);

Loading…
Cancel
Save