| | |
| | | .excludePathPatterns("/webjars/**"); |
| | | |
| | | // 用户认证拦截 |
| | | // registry.addInterceptor(userLoginInterceptor) |
| | | // .addPathPatterns("/**") |
| | | // .excludePathPatterns("/common/**") |
| | | // .excludePathPatterns("/resource/**") |
| | | // .excludePathPatterns("/swagger**/**") |
| | | // .excludePathPatterns("/webjars/**") |
| | | // .excludePathPatterns("/api/**"); |
| | | registry.addInterceptor(userLoginInterceptor) |
| | | .addPathPatterns("/admin/**"); |
| | | |
| | | // url权限拦截 |
| | | registry.addInterceptor(suAuthorityInterceptor).addPathPatterns("/**/su/**"); |
| | | |
| | | //小程序公司与域名对应关系拦截 |
| | | registry.addInterceptor(hostInterceptor).addPathPatterns("/**/wxapi/**") |
| | | .excludePathPatterns("/wxCommon/wxapi/wxpayCallback") |