更改500异常提示语

This commit is contained in:
不做码农
2023-04-26 19:39:54 +08:00
parent 8b85cb4bf4
commit cad87709d1
@@ -62,7 +62,7 @@ namespace ZR.Admin.WebApi.Middleware
}
else
{
msg = "服务器好像出了点问题......";
msg = "服务器好像出了点问题,请联系系统管理员...";
error = $"{ex.Message}";
logLevel = NLog.LogLevel.Error;
context.Response.StatusCode = 500;