yxj
2024-08-13 d79f81d5f07f47be053cfcbae4a4ed47cd0ccce0
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());
        }
    }
}