做了个拦截器的demo失效
MainModule
@Modules
@Filters({@By(type = TokenFilter.class, args = {"ioc:tokenFilter"})})
public class MainModule {
}
tokenfilter
@IocBean
public class TokenFilter extends AbstractProcessor implements ActionFilter {
public View match(ActionContext actionContext) {
ForwardView view = new ForwardView("/user/index");
return view;
}
public void process(ActionContext actionContext) throws Throwable {
}
}
debug根本就没进match方法体内