控制台增加logo

This commit is contained in:
不做码农
2022-12-16 15:52:35 +08:00
parent aad5760289
commit b4772a4153
3 changed files with 32 additions and 0 deletions

View File

@@ -80,6 +80,8 @@ builder.Services.AddMvc(options =>
});
builder.Services.AddSwaggerConfig();
// 显示logo
builder.Services.AddLogo();
var app = builder.Build();
InternalApp.ServiceProvider = app.Services;