Compare commits
No commits in common. "8e90f21a64e07b9cceb6f11050f9c1c2d27ef7d9" and "b726b2c8f4bcf62ff5e6c490b16c7fd13f909e7b" have entirely different histories.
8e90f21a64
...
b726b2c8f4
|
|
@ -18,7 +18,7 @@ func InitRedis() error {
|
|||
// 连接redis
|
||||
redisClient = redis.NewClient(&redis.Options{
|
||||
Addr: proto.REDIS_ADDR, // Redis 服务器地址
|
||||
Password: proto.REDIS_PASSWORD, // 如果 Redis 设置了密码
|
||||
//Password: proto.REDIS_PASSWORD, // 如果 Redis 设置了密码
|
||||
DB: proto.REIDS_DB, // 使用的数据库编号
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue