dengjunjie
2024-12-24 18d1f45193e34e00fc1b6f65b8596ddb29c5267d
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerMiddleware.cs
@@ -24,7 +24,7 @@
            app.UseSwaggerUI(c =>
            {
                //鏍规嵁鐗堟湰鍚嶇О鍊掑簭 閬嶅巻灞曠ず
                var apiName = AppSettings.app(new string[] { "ApiName" });
                var apiName = AppSettings.Get(new string[] { "ApiName" });
                typeof(ApiVersions).GetEnumNames().OrderByDescending(e => e).ToList().ForEach(version =>
                {
                    c.SwaggerEndpoint($"/swagger/{version}/swagger.json", $"{apiName} {version}");