RedisTemplate 中 opsForHash()使用
//RedisTemplate 中 opsForHash()使用
//缓存菜单
public List<Menu> selectMenus() throws Exception {
Collection<String> menujsons = redisTemplate.opsForHash().entries("menuList").values()...
原创
2020-01-17 13:54:53 ·
3348 阅读 ·
0 评论