Showing
1 changed file
with
2 additions
and
1 deletions
@@ -208,7 +208,8 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher | @@ -208,7 +208,8 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher | ||
208 | clickUnion.info("clickUnion set redis with key={}, value={}", key, JSON.toJSONString(request)); | 208 | clickUnion.info("clickUnion set redis with key={}, value={}", key, JSON.toJSONString(request)); |
209 | yhValueOperations.set(key, JSON.toJSONString(request)); | 209 | yhValueOperations.set(key, JSON.toJSONString(request)); |
210 | String invalidTime = "activeTime"+"_"+request.getUnion_type(); | 210 | String invalidTime = "activeTime"+"_"+request.getUnion_type(); |
211 | - DynamicIntProperty activeTime = DynamicPropertyFactory.getInstance().getIntProperty(invalidTime, 48); | 211 | + // 有效时间改成5天 |
212 | + DynamicIntProperty activeTime = DynamicPropertyFactory.getInstance().getIntProperty(invalidTime, 5 * 24); | ||
212 | yHRedisTemplate.longExpire(key, activeTime.get(), TimeUnit.HOURS); | 213 | yHRedisTemplate.longExpire(key, activeTime.get(), TimeUnit.HOURS); |
213 | 214 | ||
214 | 215 |
-
Please register or login to post a comment