|
@@ -30,7 +30,7 @@ namespace Hotline.Repository.SqlSugar.Extensions
|
|
|
{
|
|
|
public static void AddSqlSugar(this IServiceCollection services, IConfiguration configuration, string dbName = "Hotline")
|
|
|
{
|
|
|
- //services.AddScoped<DatabaseEventDispatcher>();
|
|
|
+ services.AddScoped<DatabaseEventDispatcher>();
|
|
|
//多租户 new SqlSugarScope(List<ConnectionConfig>,db=>{});
|
|
|
|
|
|
var slaveConnections = new List<SlaveConnectionConfig>();
|