master
wenjy 9 months ago
parent 2b8b24f2f0
commit 32411f9d8e

@ -80,7 +80,7 @@ namespace SlnMesnac.Business.@base
_rfidFactories = rfidFactories; _rfidFactories = rfidFactories;
_serviceProvider = serviceProvider; _serviceProvider = serviceProvider;
using (var scope = _serviceProvider.CreateScope()) using (var scope = _serviceProvider.CreateScope()) //
{ {
baseConfigInfos = scope.ServiceProvider.GetRequiredService<List<BaseConfigInfo>>(); baseConfigInfos = scope.ServiceProvider.GetRequiredService<List<BaseConfigInfo>>();

Loading…
Cancel
Save