Merge branch 'refs/heads/feature-im-gitea'
This commit is contained in:
commit
8e90f21a64
|
|
@ -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