/// <summary>
/// 检查权限
/// </summary>
/// <param name="requestContext"></param>
protected override void Initialize(RequestContext requestContext)
{
string controllerName = (string)requestContext.RouteData.Values["controller"];
string actionName = (string)requestContext.RouteData.Values["action"];

base.Initialize(requestContext);
string strWillPath = requestContext.HttpContext.Request.FilePath;

判断权限代码省略
}