疯狂的狮子Li
2021-07-12 1cbe4c0d887f21b697539d86e9add55eda7dd200
ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java
@@ -50,7 +50,7 @@
        CorsConfiguration config = new CorsConfiguration();
        config.setAllowCredentials(true);
        // 设置访问源地址
        config.addAllowedOrigin("*");
      config.addAllowedOriginPattern("*");
        // 设置访问源请求头
        config.addAllowedHeader("*");
        // 设置访问源请求方法