diff --git a/Txgy.RBS.Framework/RedisHelper/Init/RedisConfigInfo.cs b/Txgy.RBS.Framework/RedisHelper/Init/RedisConfigInfo.cs index 36025a1..055c2b1 100644 --- a/Txgy.RBS.Framework/RedisHelper/Init/RedisConfigInfo.cs +++ b/Txgy.RBS.Framework/RedisHelper/Init/RedisConfigInfo.cs @@ -14,12 +14,12 @@ namespace Txgy.RBS.Framework.RedisHelper.Init /// /// 默认6379端口 /// - public string WriteServerList = "127.0.0.1:6379"; + public string WriteServerList = "beijingtianxiangguoyue@127.0.0.1:6379"; /// /// 可读的Redis链接地址 /// format:ip1,ip2 /// - public string ReadServerList = "127.0.0.1:6379"; + public string ReadServerList = "beijingtianxiangguoyue@127.0.0.1:6379"; /// /// 最大写链接数 /// diff --git a/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs b/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs index cc3c21a..77f847b 100644 --- a/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs +++ b/Txgy.RBS.Server.WebApi/Register/HostBuilderExtend.cs @@ -77,7 +77,7 @@ namespace Txgy.RBS.Server.WebApi.Register process.EnableRaisingEvents = true; process.StartInfo.FileName = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath, "server.exe")); process.StartInfo.WorkingDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, CommonData.RedisDefaultPath); - // process.StartInfo.Arguments = "service.conf"; + process.StartInfo.Arguments = "service.conf"; Debug.WriteLine($"*******ProcessName:{process.StartInfo.FileName}, arguments:{process.StartInfo.Arguments}*********"); process.StartInfo.UseShellExecute = true; process.StartInfo.CreateNoWindow = false; diff --git a/Txgy.RBS.Server.WebApi/rbs_server_db.db b/Txgy.RBS.Server.WebApi/rbs_server_db.db index e69de29..2196321 100644 Binary files a/Txgy.RBS.Server.WebApi/rbs_server_db.db and b/Txgy.RBS.Server.WebApi/rbs_server_db.db differ