This commit is contained in:
2026-05-10 18:42:16 +08:00
3 changed files with 8 additions and 2 deletions
@@ -30,7 +30,7 @@ namespace IM.InitCommon
// 优先从环境变量读取
string consulUrl =
Environment.GetEnvironmentVariable("CONSUL_URL")
?? "http://localhost:8500";
?? "http://192.168.5.100:8500";
string consulKey = $"IM/{env.EnvironmentName}/appsettings.json";
string serviceConsulKey = $"IM/{env.EnvironmentName}/{serviceName}/appsettings.json";