0
|
Erndob · 技术社区 · 6 年前 |
1
0
“msdn”页面将帮助您: https://docs.microsoft.com/en-us/aspnet/web-api/overview/error-handling/web-api-global-error-handling 您需要一个全局错误处理程序。这是核心代码,您可以在msdn页面中找到详细信息。
顺便说一句,您应该提到MVC版本:
|