类 FilterConfig
java.lang.Object
com.iplatform.gateway.config.FilterConfig
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.web.cors.reactive.CorsWebFilter允许 Gateway 跨域请求。
-
字段详细资料
-
logger
protected final transient org.slf4j.Logger logger
-
-
构造器详细资料
-
FilterConfig
public FilterConfig()
-
-
方法详细资料
-
routeRecordGlobalFilter
-
corsFilter
@Bean public org.springframework.web.cors.reactive.CorsWebFilter corsFilter()允许 Gateway 跨域请求。1) 2022-12-28 由于在管理模块中已经配置了跨域,因此在Gateway也配置就重复了, 这里后面要采用动态过滤,针对每个业务系统配置是否需要跨域。 2)- 返回:
-