This commit is contained in:
alex
2023-09-06 17:46:02 +08:00
parent 1568d6ef85
commit 24563ed55e
2 changed files with 4 additions and 3 deletions

View File

@@ -115,8 +115,8 @@ public class Startup : AppStartup
SnowflakeIdHelper.InitYitIdWorker();
bool isStartTimeJob = App.GetConfig<bool>("IsStartTimeJob");
if (isStartTimeJob)
serviceProvider.GetRequiredService<ITimeTaskService>().StartTimerJob();
//bool isStartTimeJob = App.GetConfig<bool>("IsStartTimeJob");
//if (isStartTimeJob)
// serviceProvider.GetRequiredService<ITimeTaskService>().StartTimerJob();
}
}