yxj
2022-04-19 0993739f3339e1fdf8580c0da3bf16a21b1efd45
1
2
3
4
5
6
7
8
9
10
11
12
13
using System.Web;
using System.Web.Mvc;
 
namespace WebAPI
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }
    }
}