通过外层key和内层key获取redis的值

outKey ,innerKey;

BoundHashOperations<String, Object, Object> hashOps = this.redisTemplate.boundHashOps(outKey );
String value = (String) hashOps.get(innerKey);

 

posted @   二先森  阅读(472)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示