shiro默认不配置任何过滤权限时不会自动调用授权函数

2024-12-21 12:11:23
推荐回答(2个)
回答1:

printPreviewDialog1.PrintPreviewControl.StartPage = 0;
class Composite : Component
{
private List children = new List();
public Composite(string name) : base(name) { }
public override void Add(Component c)
{
children.Add(c);
}
public override void Remove(Component c)
{
children.Remove(c);
}

回答2:

看你好像没开启shiro的注解,不知是不是这个原因