diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java index a28d6ebc6..ed185e640 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java @@ -651,9 +651,9 @@ public class PileBasicInfoServiceImpl implements PileBasicInfoService { // 设置过期时间 try { - if (redisCache.getExpire(redisKey) < 0) { - redisCache.expire(redisKey, CacheConstants.cache_expire_time_10d); - } + redisCache.expire(redisKey, CacheConstants.cache_expire_time_30d); + // if (redisCache.getExpire(redisKey) < 0) { + // } } catch (Exception e) { log.info("设置过期时间error", e); }