优化功能

This commit is contained in:
不做码农
2023-06-01 18:47:11 +08:00
parent 68d43240e7
commit 65543e651c
4 changed files with 33 additions and 7 deletions

View File

@@ -61,8 +61,8 @@ builder.Services.AddAuthentication(options =>
});
//InternalApp.InternalServices = builder.Services;
builder.Services.AddAppService();
builder.Services.AddSingleton(new AppSettings(builder.Configuration));
builder.Services.AddAppService();
//开启计划任务
builder.Services.AddTaskSchedulers();
//初始化db