修改字段
This commit is contained in:
@@ -12,6 +12,7 @@ using DOAN.Common.DynamicApiSimple.Extens;
|
||||
using DOAN.Infrastructure.WebExtensions;
|
||||
using DOAN.ServiceCore.Signalr;
|
||||
using DOAN.ServiceCore.SqlSugar;
|
||||
using DOAN.ServiceCore;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
// NLog: Setup NLog for Dependency injection
|
||||
@@ -89,6 +90,8 @@ builder.Services.AddHslCommunication();
|
||||
|
||||
// 添加本地化服务
|
||||
builder.Services.AddLocalization(options => options.ResourcesPath = "");
|
||||
//永驻线程
|
||||
builder.Services.AddHostedService<DoanBackgroundService>();
|
||||
|
||||
var app = builder.Build();
|
||||
InternalApp.ServiceProvider = app.Services;
|
||||
|
||||
Reference in New Issue
Block a user