mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-04 08:40:52 +08:00
sql日志打印输出配置
This commit is contained in:
@@ -93,7 +93,7 @@ namespace Yi.Framework.WebCore.DbExtend
|
||||
|
||||
if (Appsettings.appBool("DbSeed_Enabled"))
|
||||
{
|
||||
var _Db = app.ApplicationServices.GetService<ISqlSugarClient>();
|
||||
var _Db = app.ApplicationServices.GetRequiredService<ISqlSugarClient>();
|
||||
Invoer(_Db);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user