diff --git a/Service/System/SysConfigService.cs b/Service/System/SysConfigService.cs index 94318bf..532999a 100644 --- a/Service/System/SysConfigService.cs +++ b/Service/System/SysConfigService.cs @@ -171,6 +171,12 @@ namespace Service.System throw new ArgumentException("配置数据key格式错误"); } + string? strValue = redisHelper.GetStrValue(key); + if (strValue != null) + { + return strValue; + } + if (Dictionary.TryGetValue(key, out string? value)) { return value;