boot+mybatis+druid加的有拦截器sql监管还是没有数据?

@Bean
public FilterRegistrationBean filterRegistrationBean() {
FilterRegistrationBean filterRegistrationBean = new FilterRegistrationBean(new WebStatFilter());
filterRegistrationBean.addUrlPatterns("/*");
filterRegistrationBean.addInitParameter("exclusions", "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*");
return filterRegistrationBean;
}

查看全部
weixin_44184703
weixin_44184703
2019/04/18 16:44
  • spring
  • 点赞
  • 收藏
  • 回答
    私信

0个回复