xiaoyong931011
2023-03-24 971f739f9ee5fb868d72f9a85d65e9f0791d5032
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -28,6 +28,7 @@
        registration.excludePathPatterns("/api/unipay/unipayCallBack");
        registration.excludePathPatterns("/api/unipay/agreeMentPayCallBack");
        registration.excludePathPatterns("/api/unipay/singlePayCallBack");
        registration.excludePathPatterns("/api/order/myScoreSet");
    }
    @Override
@@ -37,7 +38,6 @@
                .allowedMethods("POST", "GET", "PUT", "OPTIONS", "DELETE")//表示允许跨域请求的方法
                .maxAge(3600)//表示在3600秒内不需要再发送预校验请求
                .allowCredentials(true);//允许客户端携带验证信息,即允许携带cookie
    }
}