摘要:
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... 阅读全文
posted @ 2011-12-09 11:35
biubiubiu
阅读(568)
评论(0)
推荐(0)

浙公网安备 33010602011771号