Helius
2021-04-12 b8d50f6ad9d1ab407e5b2a6867cf47bc4640a43c
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");
   }