Authored by hugufei

fix bug

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