更新依赖
This commit is contained in:
parent
87a21a4df0
commit
d50ae45c10
@ -1 +1 @@
|
||||
Subproject commit e6687c0b95ccd58c9f86e97d172f2858780efbee
|
||||
Subproject commit 07a83224a090c8ca0d2c3058507fd6e738846fac
|
||||
@ -124,7 +124,7 @@ public partial class IoTHttpApiHostModule
|
||||
|
||||
context.Services
|
||||
.AddDataProtection()
|
||||
.PersistKeysToStackFreeRedis("JiSheIoTAdmin-Protection-Keys");
|
||||
.PersistKeysToStackFreeRedis($"{RedisConst.CachePersistKeys}JiSheIoTAdmin-Protection-Keys");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using JiShe.ServicePro.BasicManagement.UserRefreshTokens;
|
||||
using JiShe.ServicePro.CTWingManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.DeviceManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.DeviceManagement.Focuses;
|
||||
using JiShe.ServicePro.DeviceManagement.Meters;
|
||||
@ -6,6 +7,7 @@ using JiShe.ServicePro.DynamicMenuManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.DynamicMenuManagement.Menus;
|
||||
using JiShe.ServicePro.FileManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.FileManagement.Files;
|
||||
using JiShe.ServicePro.OneNETManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.TemplateManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.TemplateManagement.TextTemplates;
|
||||
|
||||
@ -20,6 +22,8 @@ namespace JiShe.IoT.EntityFrameworkCore
|
||||
ITemplateManagementDbContext,
|
||||
IDynamicMenuManagementDbContext,
|
||||
IFileManagementDbContext,
|
||||
ICTWingManagementDbContext,
|
||||
IOneNETManagementDbContext,
|
||||
IDeviceManagementDbContext
|
||||
{
|
||||
public DbSet<IdentityUser> Users { get; set; }
|
||||
@ -61,6 +65,12 @@ namespace JiShe.IoT.EntityFrameworkCore
|
||||
public DbSet<FocusInfo> FocusInfo { get; set; }
|
||||
public DbSet<MeterInfo> MeterInfo { get; set; }
|
||||
|
||||
// CTWing管理
|
||||
|
||||
// OneNET管理
|
||||
|
||||
|
||||
|
||||
public IoTDbContext(DbContextOptions<IoTDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
@ -96,6 +106,13 @@ namespace JiShe.IoT.EntityFrameworkCore
|
||||
|
||||
// 设备管理
|
||||
builder.ConfigureDeviceManagement();
|
||||
|
||||
// CTWing管理
|
||||
builder.ConfigureCTWingManagement();
|
||||
|
||||
// OneNET管理
|
||||
builder.ConfigureOneNETManagement();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user