update Program.cs

This commit is contained in:
不做码农 2022-05-19 18:34:52 +08:00
parent 53928c1ce1
commit 76c25c94d7

View File

@ -82,11 +82,8 @@ builder.Services.AddSwaggerConfig();
var app = builder.Build();
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
//使可以多次多去body内容
app.Use((context, next) =>
{