sql日志打印输出配置

This commit is contained in:
陈淳
2022-10-18 09:01:16 +08:00
parent 9d365dbf1e
commit dab4a092d9
20 changed files with 100 additions and 66 deletions

View File

@@ -84,9 +84,9 @@ namespace Yi.Framework.WebCore
}
public static IConfiguration appConfiguration(params string[] sections)
public static IConfiguration? appConfiguration(params string[] sections)
{
return Configuration.GetSection(string.Join(":", sections));
return Configuration?.GetSection(string.Join(":", sections));
}
}
}