强制退出功能

This commit is contained in:
橙子
2022-10-03 18:27:37 +08:00
parent 3943536485
commit 1a2d9ba2b2
12 changed files with 208 additions and 248 deletions

View File

@@ -45,6 +45,29 @@ namespace Yi.Framework.Model.SeedData
};
Entitys.Add(monitoring);
//在线用户
MenuEntity online = new MenuEntity()
{
Id = SnowFlakeSingle.Instance.NextId(),
MenuName = "在线用户",
PermissionCode = "monitor:online:list",
MenuType = MenuTypeEnum.Menu.GetHashCode(),
Router = "online",
IsShow = true,
IsLink = false,
IsCache = true,
Component = "monitor/online/index",
MenuIcon = "online",
OrderNum = 100,
ParentId = monitoring.Id,
IsDeleted = false
};
Entitys.Add(online);
//系统工具
MenuEntity tool = new MenuEntity()
{