feat:完善job dto

This commit is contained in:
陈淳
2023-04-25 09:19:17 +08:00
parent 7d5a7e0fe8
commit 6a881e4613
6 changed files with 190 additions and 16 deletions

View File

@@ -111,6 +111,25 @@ namespace Yi.Furion.Core.Rbac.DataSeeds
};
entities.Add(server);
//定时任务
MenuEntity task = new MenuEntity()
{
Id = SnowflakeHelper.NextId,
MenuName = "定时任务",
PermissionCode = "monitor:job:list",
MenuType = MenuTypeEnum.Menu,
Router = "job",
IsShow = true,
IsLink = false,
IsCache = true,
Component = "monitor/job/index",
MenuIcon = "server",
OrderNum = 97,
ParentId = monitoring.Id,
IsDeleted = false
};
entities.Add(task);
//系统工具
MenuEntity tool = new MenuEntity()