From a7d0e2b1965fab7ce861a3ce6b1dae473119b68d Mon Sep 17 00:00:00 2001 From: zpc Date: Sun, 27 Jul 2025 15:45:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CoreCms.Net.Web.WebApi/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CoreCms.Net.Web.WebApi/Program.cs b/src/CoreCms.Net.Web.WebApi/Program.cs index 6668a0b..1843642 100644 --- a/src/CoreCms.Net.Web.WebApi/Program.cs +++ b/src/CoreCms.Net.Web.WebApi/Program.cs @@ -257,7 +257,8 @@ try NLogUtil.EnsureNlogConfig("NLog.config"); //其他项目启动时需要做的事情 NLogUtil.WriteAll(NLog.LogLevel.Trace, LogType.ApiRequest, "接口启动", "接口启动成功"); - app.MapGet("/", () => "请求成功").WithName("默认请求"); + //app.MapGet("/", () => "请求成功").WithName("默认请求"); + app.MapGet("/h", () => "请求成功").WithName("默认请求"); app.Run(); } catch (Exception ex)