Merge branch 'refs/heads/abp' into digital-collectibles

This commit is contained in:
橙子
2024-11-16 11:01:18 +08:00

View File

@@ -20,6 +20,8 @@ public class YiFrameworkBackgroundWorkersHangfireModule:AbpModule
foreach (var work in works)
{
//如果为空默认使用服务器本地utc时间
work.TimeZone = work.TimeZone ?? TimeZoneInfo.Local;
await backgroundWorkerManager.AddAsync(work);
}