From fdac93d134fa471bf4afb304407f506ba9e3a324 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 02 4月 2025 19:02:34 +0800 Subject: [PATCH] 考虑并发的情况 --- Api/Program.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Api/Program.cs b/Api/Program.cs index 230d0a4..1f0a2d8 100644 --- a/Api/Program.cs +++ b/Api/Program.cs @@ -17,7 +17,8 @@ var app = builder.Build(); // Configure the HTTP request pipeline. - if (app.Environment.IsDevelopment()) + if (true) + //if (app.Environment.IsDevelopment()) { app.UseSwagger(); app.UseSwaggerUI(); -- Gitblit v1.9.3