引入设备管理

This commit is contained in:
zenghongyao 2025-06-04 16:44:21 +08:00
parent ec8956392d
commit 7882e52f67
4 changed files with 4 additions and 2 deletions

View File

@ -101,6 +101,7 @@
<PackageReference Update="JiShe.ServicePro.DeviceManagement.EntityFrameworkCore" Version="$(ServiceProVersion)" /> <PackageReference Update="JiShe.ServicePro.DeviceManagement.EntityFrameworkCore" Version="$(ServiceProVersion)" />
<PackageReference Update="JiShe.ServicePro.DeviceManagement.HttpApi" Version="$(ServiceProVersion)" /> <PackageReference Update="JiShe.ServicePro.DeviceManagement.HttpApi" Version="$(ServiceProVersion)" />
<PackageReference Update="JiShe.ServicePro.DeviceManagement.HttpApi.Client" Version="$(ServiceProVersion)" /> <PackageReference Update="JiShe.ServicePro.DeviceManagement.HttpApi.Client" Version="$(ServiceProVersion)" />
<PackageReference Update="JiShe.ServicePro.DeviceManagement.Application.Contracts" Version="$(ServiceProVersion)" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -8,7 +8,7 @@ namespace JiShe.IoT
public abstract class IoTAppService : ApplicationService public abstract class IoTAppService : ApplicationService
{ {
protected IFreeSqlProvider FreeSqlDbContext => LazyServiceProvider.LazyGetRequiredService<IFreeSqlProvider>(); protected IFreeSqlProvider FreeSqlDbContext => LazyServiceProvider.LazyGetRequiredService<IFreeSqlProvider>();
protected IFreeRedisProviderService FreeRedis => LazyServiceProvider.LazyGetRequiredService<IFreeRedisProviderService>(); protected IFreeRedisProvider FreeRedis => LazyServiceProvider.LazyGetRequiredService<IFreeRedisProvider>();
protected IoTAppService() protected IoTAppService()
{ {

View File

@ -16,7 +16,7 @@ namespace JiShe.IoT
typeof(TemplateManagementApplicationModule), typeof(TemplateManagementApplicationModule),
typeof(DynamicMenuManagementApplicationModule), typeof(DynamicMenuManagementApplicationModule),
typeof(FileManagementApplicationModule), typeof(FileManagementApplicationModule),
typeof(FreeRedisProviderModule) typeof(ServiceProFreeSqlProviderModule)
)] )]
public class IoTApplicationModule : AbpModule public class IoTApplicationModule : AbpModule
{ {

View File

@ -17,6 +17,7 @@
<PackageReference Include="JiShe.ServicePro.DynamicMenuManagement.HttpApi.Client"/> <PackageReference Include="JiShe.ServicePro.DynamicMenuManagement.HttpApi.Client"/>
<PackageReference Include="JiShe.ServicePro.FileManagement.HttpApi.Client"/> <PackageReference Include="JiShe.ServicePro.FileManagement.HttpApi.Client"/>
<PackageReference Include="JiShe.ServicePro.DeviceManagement.HttpApi.Client"/> <PackageReference Include="JiShe.ServicePro.DeviceManagement.HttpApi.Client"/>
<PackageReference Include="JiShe.ServicePro.DeviceManagement.HttpApi.Client"/>
</ItemGroup> </ItemGroup>