12 2011 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace AuthTest.Models { public class MyAuthAttribute : AuthorizeAttribute { // 只需重载此方法,模拟自定义的角色授权机制 protected override bool AuthorizeCore(HttpCon...
阅读全文

浙公网安备 33010602011771号