日期:2014-05-20 浏览次数:20781 次
public class AdminFilter : ActionFilterAttribute { public override void OnActionExecuted(ActionExecutedContext filterContext) { base.OnActionExecuted(filterContext); } public override void OnActionExecuting(ActionExecutingContext filterContext) { //判断是否登陆 } }