Springboot ‘Access-Control-Allow-Origin‘ header is present on the requested resource
spring跨域问题解决@ConfigurationpublicclassCorsConfigimplementsWebMvcConfigurer{@OverridepublicvoidaddCorsMappings(CorsRegistryregistry){registry.addMapping("/**").allowedHeaders("*").allowedMethods("*").al