Administrator
2025-07-21 8641cb25d2270554e9886b396ced4272836d8b7b
feat: 添加 allComment 接口的跨域支持

- 在 WebMvcConfigure 类中添加了 "/api/clothes/social/allComment"路径的跨域支持- 此修改允许前端系统访问该接口,解决了跨域问题
1 files modified
1 ■■■■ changed files
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java 1 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/common/configure/WebMvcConfigure.java
@@ -44,6 +44,7 @@
        registration.excludePathPatterns("/api/clothes/social/allCategory");
        registration.excludePathPatterns("/api/clothes/social/indexCategory");
        registration.excludePathPatterns("/api/clothes/social/allSocial");
        registration.excludePathPatterns("/api/clothes/social/allComment");
        registration.excludePathPatterns("/api/clothes/social/socialInfo");
        registration.excludePathPatterns("/api/clothes/clothesType");
    }