From cad87709d19ec7d42dee3641826133cc3de88c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Tue, 25 Apr 2023 11:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9500=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Admin.WebApi/Middleware/GlobalExceptionMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZR.Admin.WebApi/Middleware/GlobalExceptionMiddleware.cs b/ZR.Admin.WebApi/Middleware/GlobalExceptionMiddleware.cs index 35e3018..6dd96ed 100644 --- a/ZR.Admin.WebApi/Middleware/GlobalExceptionMiddleware.cs +++ b/ZR.Admin.WebApi/Middleware/GlobalExceptionMiddleware.cs @@ -62,7 +62,7 @@ namespace ZR.Admin.WebApi.Middleware } else { - msg = "服务器好像出了点问题......"; + msg = "服务器好像出了点问题,请联系系统管理员..."; error = $"{ex.Message}"; logLevel = NLog.LogLevel.Error; context.Response.StatusCode = 500;