Commit e5e754f0eda884f84154df2fe546416bf7f8a435
1 parent
c925b3d1
JeecgBoot 3.3.0 版本发布(发布日期:20220725)
Showing
2 changed files
with
3 additions
and
3 deletions
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 { |
28 | 28 | public static final String SYS_DATA_PERMISSIONS_CACHE = "sys:cache:permission:datarules"; |
29 | 29 | |
30 | 30 | /** |
31 | - * 缓存用户信息 | |
31 | + * 缓存用户信息【加密】 | |
32 | 32 | */ |
33 | - public static final String SYS_USERS_CACHE = "sys:cache:user"; | |
33 | + public static final String SYS_USERS_CACHE = "sys:cache:encrypt:user"; | |
34 | 34 | |
35 | 35 | /** |
36 | 36 | * 全部部门信息缓存 |
... | ... |
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 { |
97 | 97 | return null; |
98 | 98 | } |
99 | 99 | |
100 | - String exceptionClass=throwable.getClass().getSimpleName(); | |
100 | + String exceptionClass = throwable.getClass().getSimpleName(); | |
101 | 101 | for (SentinelErrorInfoEnum e : SentinelErrorInfoEnum.values()) { |
102 | 102 | if (exceptionClass.equals(e.name())) { |
103 | 103 | return e; |
... | ... |