Compare commits

..

No commits in common. "e85dc9565498a81315925b4a6b847bf887121cc0" and "87a21a4df0ee71d95282dde846ca9a2cee663016" have entirely different histories.

3 changed files with 2 additions and 19 deletions

@ -1 +1 @@
Subproject commit fa776f0281564ebc3f7c3173420b86026f71eedd
Subproject commit e6687c0b95ccd58c9f86e97d172f2858780efbee

View File

@ -124,7 +124,7 @@ public partial class IoTHttpApiHostModule
context.Services
.AddDataProtection()
.PersistKeysToStackFreeRedis($"{RedisConst.CachePersistKeys}JiSheIoTAdmin-Protection-Keys");
.PersistKeysToStackFreeRedis("JiSheIoTAdmin-Protection-Keys");
}
/// <summary>

View File

@ -1,5 +1,4 @@
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;
@ -7,7 +6,6 @@ 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;
@ -22,8 +20,6 @@ namespace JiShe.IoT.EntityFrameworkCore
ITemplateManagementDbContext,
IDynamicMenuManagementDbContext,
IFileManagementDbContext,
ICTWingManagementDbContext,
IOneNETManagementDbContext,
IDeviceManagementDbContext
{
public DbSet<IdentityUser> Users { get; set; }
@ -65,12 +61,6 @@ 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)
{
@ -106,13 +96,6 @@ namespace JiShe.IoT.EntityFrameworkCore
// 设备管理
builder.ConfigureDeviceManagement();
// CTWing管理
builder.ConfigureCTWingManagement();
// OneNET管理
builder.ConfigureOneNETManagement();
}