...
|
...
|
@@ -38,7 +38,7 @@ public abstract class AbstractPageComponent { |
|
|
//2、缓存命中,则直接返回
|
|
|
CacheObject cacheObject = ehCache.get(redisKeyBuilder);
|
|
|
if (cacheObject != null) {
|
|
|
return cacheObject;
|
|
|
return cacheObject.toObject();
|
|
|
}
|
|
|
//3、限流判断以及重复请求预防
|
|
|
if (mapLock.size() > 20 || mapLock.putIfAbsent(redisKeyBuilder.getKey(), 1) != null) {
|
...
|
...
|
|