更改500异常提示语

This commit is contained in:
不做码农 2023-04-25 11:59:19 +08:00
parent 8b85cb4bf4
commit cad87709d1

View File

@ -62,7 +62,7 @@ namespace ZR.Admin.WebApi.Middleware
}
else
{
msg = "服务器好像出了点问题......";
msg = "服务器好像出了点问题,请联系系统管理员...";
error = $"{ex.Message}";
logLevel = NLog.LogLevel.Error;
context.Response.StatusCode = 500;