...
|
...
|
@@ -208,7 +208,8 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher |
|
|
clickUnion.info("clickUnion set redis with key={}, value={}", key, JSON.toJSONString(request));
|
|
|
yhValueOperations.set(key, JSON.toJSONString(request));
|
|
|
String invalidTime = "activeTime"+"_"+request.getUnion_type();
|
|
|
DynamicIntProperty activeTime = DynamicPropertyFactory.getInstance().getIntProperty(invalidTime, 48);
|
|
|
// 有效时间改成5天
|
|
|
DynamicIntProperty activeTime = DynamicPropertyFactory.getInstance().getIntProperty(invalidTime, 5 * 24);
|
|
|
yHRedisTemplate.longExpire(key, activeTime.get(), TimeUnit.HOURS);
|
|
|
|
|
|
|
...
|
...
|
|