feat:完善前端友好提示功能
This commit is contained in:
@@ -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("------->数据已经重置还原<-------");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user