
redis
xinjirufen1
这个作者很懒,什么都没留下…
展开
-
redis 实现抽奖
每个数据库有自己的特性,基于redis数据库中SET集合类型的缓存,可以实现抽奖。代码很简单,做个记录加深自己印象。maven构建项目,引入<dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>3.3.0</version></dependency>package co原创 2020-08-09 15:59:58 · 1947 阅读 · 0 评论 -
jedis连接报错
-DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections are only accepted from the loopback interface. If you want to connect原创 2020-08-08 09:24:05 · 326 阅读 · 0 评论