From bb05da2b14664b3f265a9be6a768933e07856c88 Mon Sep 17 00:00:00 2001 From: zhangbin <460190368@qq.com> Date: Thu, 17 Jul 2025 10:28:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9redis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Infrastructure/Cache/RedisCacheContext.cs | 2 +- OpenAuth.WebApi/appsettings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Infrastructure/Cache/RedisCacheContext.cs b/Infrastructure/Cache/RedisCacheContext.cs index 1374eec..e7ef8e0 100644 --- a/Infrastructure/Cache/RedisCacheContext.cs +++ b/Infrastructure/Cache/RedisCacheContext.cs @@ -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(string key) diff --git a/OpenAuth.WebApi/appsettings.json b/OpenAuth.WebApi/appsettings.json index 38f542e..e8f371d 100644 --- a/OpenAuth.WebApi/appsettings.json +++ b/OpenAuth.WebApi/appsettings.json @@ -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 },