refactor 警告/提醒处理
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user