jyy
2021-04-09 f96ad6ec73b3da7df5c08471f0d567d46fc767e8
zq-erp/src/main/java/com/matrix/config/MvcCoreConfig.java
@@ -20,7 +20,7 @@
 * @description 容器添加组件
 * @date 2019-06-14 15:50
 */
@Configuration
@Configuration()
@PropertySource("classpath:config/system.properties")
public class MvcCoreConfig implements WebMvcConfigurer {
@@ -76,7 +76,8 @@
      // url权限拦截
      registry.addInterceptor(suAuthorityInterceptor).addPathPatterns("/**/su/**");
      //小程序公司与域名对应关系拦截
      registry.addInterceptor(hostInterceptor).addPathPatterns("/**/wxapi/**");
      registry.addInterceptor(hostInterceptor).addPathPatterns("/**/wxapi/**")
            .excludePathPatterns("/wxCommon/wxapi/wxpayCallback");
   }