修改了exceptionmiddleware, 现在可以配置的时候跳过 特定statusCode

This commit is contained in:
2026-05-10 20:33:25 +08:00
parent ec3004518f
commit aef62a3472
3 changed files with 23 additions and 13 deletions
+6
View File
@@ -0,0 +1,6 @@
namespace SimApi.Configurations;
public class SimApiExceptionOptions
{
public int[] SkipStatusCodes = [200, 301, 302];
}