⬆️ 升级包

This commit is contained in:
不做码农
2023-06-20 07:26:25 +08:00
parent 948b1bcf4e
commit 06f664910b
12 changed files with 66 additions and 95 deletions

View File

@@ -89,6 +89,8 @@ builder.Services.AddSwaggerConfig();
var app = builder.Build();
InternalApp.ServiceProvider = app.Services;
InternalApp.Configuration = builder.Configuration;
InternalApp.WebHostEnvironment = app.Environment;
//初始化db
builder.Services.AddDb(builder.Configuration, app.Environment);