现象:
跨域配置
package com.ldzn.lll.mygulimall.gateway.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.reactive.CorsWebFilter;
import org.springframework.web.cors.reactive.UrlBasedCorsConfigurationSource;
/**
* @ClassName : CorsConfiguration
* @Description:
* @Author: liulianglin
* @Date: 2020/11/5 17:21
* @Version : 1.0
*/
@Configuration
public class CorsConfig {
@Bean
public CorsResponseHeaderFilter corsResponseHeaderFilter() {
return new CorsResponseHeade