...
|
...
|
@@ -109,7 +109,7 @@ public class UnionServiceImpl implements IUnionService { |
|
|
// }
|
|
|
|
|
|
//保存到缓存中,有效期三个小时
|
|
|
yhValueOperations.setIfAbsent(key, JSON.toJSONString(request));
|
|
|
yhValueOperations.set(key, JSON.toJSONString(request));
|
|
|
DynamicIntProperty activeTime = DynamicPropertyFactory.getInstance().getIntProperty("activeTime", 24 * 60 * 60);
|
|
|
yHRedisTemplate.longExpire(key, activeTime.get(), TimeUnit.SECONDS);
|
|
|
log.info("clickUnion set redis success with request={}", request);
|
...
|
...
|
|