摘要:
1.使用中间件做全局异常处理,具体代码如下: public class CustomExceptionMiddleware { private readonly RequestDelegate _next; private readonly ILogger<CustomExceptionMiddle 阅读全文
posted @ 2022-06-12 18:07 樱木007 阅读(444) 评论(0) 推荐(0) 编辑
posted @ 2022-06-12 18:07 樱木007 阅读(444) 评论(0) 推荐(0) 编辑
Copyright © 2025 樱木007
Powered by .NET 9.0 on Kubernetes