** // Web API 配置和服务 config.Filters.Add(new CustomExceptionAttribute());//全局生效,只限制webapi,就控制器进程 ApiController **