redis存储和取
存:
String sendAppFriendCircle = RedisKey.getFriendCircleKey("fq:sendAppFriendCircle:" + dataBean.getEditId(), dataBean.getEditId());
appRedisTemplate.opsForValue().set(sendAppFriendCircle, appFriendsGoodsVo, 2, TimeUnit.HOURS);
取:
V2AppFriendsGoodsVo appFriendsGoodsVo = (V2AppFriendsGoodsVo) appRedisTemplate.opsForValue().get(sendAppFriendCircle);