diff --git a/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/constant/CacheConstant.java b/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/constant/CacheConstant.java index ab11545..778dc3b 100644 --- a/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/constant/CacheConstant.java +++ b/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/constant/CacheConstant.java @@ -28,9 +28,9 @@ public interface CacheConstant { public static final String SYS_DATA_PERMISSIONS_CACHE = "sys:cache:permission:datarules"; /** - * 缓存用户信息 + * 缓存用户信息【加密】 */ - public static final String SYS_USERS_CACHE = "sys:cache:user"; + public static final String SYS_USERS_CACHE = "sys:cache:encrypt:user"; /** * 全部部门信息缓存 diff --git a/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/enums/SentinelErrorInfoEnum.java b/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/enums/SentinelErrorInfoEnum.java index 91b86f2..654e06b 100644 --- a/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/enums/SentinelErrorInfoEnum.java +++ b/jeecg-boot/jeecg-boot-base/jeecg-boot-base-tools/src/main/java/org/jeecg/common/enums/SentinelErrorInfoEnum.java @@ -97,7 +97,7 @@ public enum SentinelErrorInfoEnum { return null; } - String exceptionClass=throwable.getClass().getSimpleName(); + String exceptionClass = throwable.getClass().getSimpleName(); for (SentinelErrorInfoEnum e : SentinelErrorInfoEnum.values()) { if (exceptionClass.equals(e.name())) { return e;