浏览代码

fix web db access

Robert 1 年之前
父节点
当前提交
bac7afa349
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      EVCB_OCPP.TaskScheduler/Program.cs

+ 1 - 0
EVCB_OCPP.TaskScheduler/Program.cs

@@ -36,6 +36,7 @@ namespace EVCB_OCPP.TaskScheduler
 
                     services.AddMainDbContext(context.Configuration);
                     services.AddOnlineLogDBContext(context.Configuration);
+                    services.AddWebDBConetext(context.Configuration);
 
                     services.AddTransient<ICustomerService, CommonCustomerService>();
                     services.AddSingleton<ICustomersService, CustomersService>();