第二种方法是在 WebMvcConfigurer 中定义一个全局CORS配置。 @Bean WebMvcConfigurer createWebMvcConfigurer() { return new WebMvcConfigurer() ...
確定! 回上一頁