|
@@ -109,6 +109,9 @@ public class MyCache {
|
|
|
if (Objects.isNull(key)){
|
|
|
return null;
|
|
|
}
|
|
|
+ if (key.toString().equals("hq-service:sys_config:sys.account.captchaEnabled_sxgw24")){
|
|
|
+ return "true";
|
|
|
+ }
|
|
|
LargeCache cache = platCacheMapper.selectCache(key.toString());
|
|
|
if (cache == null || StringUtils.isBlank(cache.getKey())){
|
|
|
return null;
|
|
@@ -154,7 +157,10 @@ public class MyCache {
|
|
|
// if (Objects.nonNull(value)) {
|
|
|
// caffeineCache.put(key.toString(), value);
|
|
|
// }
|
|
|
- if (Objects.isNull(key) || Objects.isNull(value)){
|
|
|
+ if (hasKey(key.toString())){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (Objects.isNull(value)){
|
|
|
return;
|
|
|
}
|
|
|
if (value instanceof String){
|