public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (filterContext.IsChildAction)
            {
                return;
            }
            var thisurl = filterContext.HttpContext.Request.Url;

            var route = new RedirectToRouteResult(
                new System.Web.Routing.RouteValueDictionary(
                    new
            {
                Controller = "Account",
                action     = "Anuthorization",
                return_url = thisurl
            }));

            LoginUserModel tempLoginModel = null;
            BaseController controller     = filterContext.Controller as BaseController;
            var            tempIsLogin    = LoginHelper.CheckSession(out tempLoginModel);

            if (controller != null)
            {
                if (tempLoginModel.FirstOrderAuthorize != 1)
                {
                    AccountBll accountBll = new AccountBll();
                    if (!accountBll.IsFirstOrderAuthorize(tempLoginModel.UserName))
                    {
                        filterContext.Result = !controller.IsAsync ? route :
                                               controller.HandleError(MessageType.RequireAuthorize,
                                                                      "首次购买授权提示。", thisurl.ToString());
                    }
                }
            }
            base.OnActionExecuting(filterContext);
        }