摘要: 中间件方式 建立中间件处理类 Startup.cs 中注册 任何Controller中的Action抛出异常均可被捕捉 在项目根目录下自建目录Middleware 新建中间件类ErrorHandlerMiddleware, using Newtonsoft.Json; using System.Ne 阅读全文
posted @ 2023-03-23 17:12 试试手气 阅读(58) 评论(0) 推荐(0) 编辑