修改redis

feature-flyModify
zhangbin 2025-07-17 10:28:27 +08:00
parent 94ed43e1dc
commit bb05da2b14
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace Infrastructure.Cache
{
_conn = ConnectionMultiplexer.Connect(options.Value.RedisConf.Conn);
iDatabase = _conn.GetDatabase(options.Value.RedisConf.Database);
server = _conn.GetServer("175.27.168.120:6050");
server = _conn.GetServer("123.132.248.154:9253");
}
public override T Get<T>(string key)

View File

@ -22,7 +22,7 @@
"UploadPath": "",
//
"RedisConf": {
"Conn": "175.27.168.120:6050,password=HopetryRedis1406",
"Conn": "123.132.248.154:9253,password=HopetryRedis1406",
//"Conn": "127.0.0.1:6379,password=123456",
"Database": 7
},