var controller = filterContext.RouteData.Values["controller"].ToString(); var action = filterContext.RouteData.Values["action"].ToString();
获取不到,只能得到ID,得不到自己定义的string,
var datatype=HttpContext.Current.Request["datatype"];