重写Job实现方式

This commit is contained in:
2023-05-28 23:42:43 +08:00
parent f8df2fe468
commit 7c3f039911
21 changed files with 732 additions and 227 deletions

View File

@@ -22,7 +22,7 @@ namespace Hua.DDNS.Test
.Build();
var sc = DIConfig.ConfigureServices(config);
var job = sc.GetService<AppJob>();
var job = sc.GetService<NewJob>();
job?.Execute(null);
}