fix 补充face config

This commit is contained in:
2024-07-17 17:54:27 +08:00
parent a5a6c7a515
commit 42e284faa3

View File

@@ -14,8 +14,8 @@ public class SqlSugarPack : BaseAppPack
return new List<ConnectionConfig>
{
new()
{
new()
{
ConfigId = "identity",
ConnectionString = configuration.GetSection("SqlSugarOptions:IdentityConnectionString").Value,
@@ -27,9 +27,23 @@ public class SqlSugarPack : BaseAppPack
{
DisableNvarchar = true,
}
},
new()
{
},
new()
{
ConfigId = "face",
ConnectionString = configuration.GetSection("SqlSugarOptions:FaceConnectionString").Value,
DbType = DbType.MySqlConnector,
InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,
MoreSettings = new ConnMoreSettings
{
DisableNvarchar = true,
}
},
new()
{
ConfigId = "log",
ConnectionString = configuration.GetSection("SqlSugarOptions:LogConnectionString").Value,
@@ -41,8 +55,8 @@ public class SqlSugarPack : BaseAppPack
{
DisableNvarchar = true,
}
},
},
};
});
}
}
}