优化代码

This commit is contained in:
不做码农
2022-03-05 16:48:40 +08:00
parent 6e8e649e88
commit acc10fde4a
5 changed files with 8 additions and 30 deletions

View File

@@ -37,12 +37,12 @@ namespace ZR.Admin.WebApi.Extensions
ConfigId = "0",
ConnectionString = connStr,
DbType = (IocDbType)dbType,
IsAutoCloseConnection = true//自动释放
IsAutoCloseConnection = true
}, new IocConfig() {
ConfigId = "1",
ConnectionString = connStrBus,
DbType = (IocDbType)dbType_bus,
IsAutoCloseConnection = true//自动释放
IsAutoCloseConnection = true
}
});
//每次Sql执行前事件