refactor 警告/提醒处理

This commit is contained in:
2024-03-23 01:14:59 +08:00
parent f42900a962
commit 89db005f0d
23 changed files with 170 additions and 177 deletions

View File

@@ -60,10 +60,10 @@ public class JobPack : BaseAppPack
});
RecurringJob.AddOrUpdate<TempCreateUserJob>("TempCreateUser", s => s.RunAsync(), "0 0 5 * * ?", new RecurringJobOptions
{
TimeZone = TimeZoneInfo.Local
});
//RecurringJob.AddOrUpdate<TempCreateUserJob>("TempCreateUser", s => s.RunAsync(), "0 0 5 * * ?", new RecurringJobOptions
//{
// TimeZone = TimeZoneInfo.Local
//});
//删除前三天前的日志
RecurringJob.AddOrUpdate<DelApiLogTaskJob>("DelApiLogTask", s => s.RunAsync(), "0 0 */7 * *", new RecurringJobOptions

View File

@@ -16,7 +16,7 @@ public class SqlSugarPack : BaseAppPack
return new List<ConnectionConfig>
{
new ConnectionConfig
new()
{
ConfigId = "identity",
@@ -30,8 +30,8 @@ public class SqlSugarPack : BaseAppPack
DisableNvarchar = true,
}
},
new ConnectionConfig
{
new()
{
ConfigId = "log",
ConnectionString = configuration.GetSection("SqlSugarOptions:LogConnectionString").Value,