From 3e08072920fd58166624b074ca2ddaf5f1781121 Mon Sep 17 00:00:00 2001 From: Guoqs <123@jsowell.com> Date: Thu, 7 Nov 2024 16:56:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=AE=9E=E6=97=B6=E6=95=B0?= =?UTF-8?q?=E6=8D=AEredis=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/service/impl/PileBasicInfoServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }