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