feat:完善前端友好提示功能

This commit is contained in:
陈淳
2023-05-20 17:20:52 +08:00
parent 027f6dd538
commit a1e0dac85c
6 changed files with 67 additions and 114 deletions

View File

@@ -37,7 +37,7 @@ namespace Yi.Furion.Application.Rbac.Job
_db.DbMaintenance.TruncateTable<DictionaryEntity>();
_db.DbMaintenance.TruncateTable<DictionaryTypeEntity>();
await _dataSeedExecuteHandler.Invoker();
_logger.LogWarning("数据已经重置还原");
_logger.LogWarning("------->数据已经重置还原<-------");
}
}
}

View File

@@ -123,7 +123,7 @@ namespace Yi.Furion.Core.Rbac.DataSeeds
IsLink = false,
IsCache = true,
Component = "monitor/job/index",
MenuIcon = "server",
MenuIcon = "job",
OrderNum = 97,
ParentId = monitoring.Id,
IsDeleted = false

View File

@@ -36,7 +36,7 @@ public class Startup : AppStartup
services.AddSchedule(options =>
{
// 注册作业,并配置作业触发器
options.AddJob<TestJob>(Triggers.Period(10000)); // 表示每秒执行
options.AddJob<TestJob>(Triggers.Period(10000));
options.AddJob<SystemDataJob>(Triggers.Cron("0 0 0,12 ? * ?",CronStringFormat.WithSeconds)); // 表示每天凌晨与12点
});
services.AddFileLogging("application-{0:yyyy}-{0:MM}-{0:dd}.log", options =>