摘要: 使用fastJson <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.28</version> </dependency> 1.get json数据 @Overrid 阅读全文
posted @ 2022-11-26 14:00 lwx_R 阅读(324) 评论(0) 推荐(0)
摘要: 1.使用redis连接池 //连接池对象 JedisPool jedisPool = new JedisPool(new JedisPoolConfig(),"localhost"); //从连接池获取对象 Jedis jedis = jedisPool.getResource(); 使用Jedis 阅读全文
posted @ 2022-11-26 11:57 lwx_R 阅读(92) 评论(0) 推荐(0)