From 266c8c76c2b3db5841541740b59e0a7323438254 Mon Sep 17 00:00:00 2001 From: 18923810322 <1666941798@qq.com> Date: Fri, 15 May 2026 10:58:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Api/Properties/launchSettings.json | 18 +++++++++--------- src/WMS.Web.Api/Startup.cs | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/WMS.Web.Api/Properties/launchSettings.json b/src/WMS.Web.Api/Properties/launchSettings.json index 2215dc14..3060f646 100644 --- a/src/WMS.Web.Api/Properties/launchSettings.json +++ b/src/WMS.Web.Api/Properties/launchSettings.json @@ -8,15 +8,15 @@ } }, "$schema": "http://json.schemastore.org/launchsettings.json", - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "swagger", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, + //"profiles": { + // "IIS Express": { + // "commandName": "IISExpress", + // "launchBrowser": true, + // "launchUrl": "swagger", + // "environmentVariables": { + // "ASPNETCORE_ENVIRONMENT": "Development" + // } + // }, "WMS.Web.Api": { "commandName": "Project", "launchBrowser": false, diff --git a/src/WMS.Web.Api/Startup.cs b/src/WMS.Web.Api/Startup.cs index 57e40140..2ddbdfdc 100644 --- a/src/WMS.Web.Api/Startup.cs +++ b/src/WMS.Web.Api/Startup.cs @@ -70,7 +70,7 @@ namespace WMS.Web.Api // SwaggerUI app.UseSwaggerUI(c => { - c.SwaggerEndpoint($"/swagger/v1/swagger1.json", "WMS-Api"); + c.SwaggerEndpoint($"/swagger/v1/swagger.json", "WMS-Api"); c.RoutePrefix = string.Empty; c.DocExpansion(DocExpansion.None); });