配置文件:
#不加这句话导致session不一致
zuul.routes.intelligentsia-authority.sensitiveHeaders = Authorization
过滤器里面
//这句话导致session不一致
// ctx.addZuulRequestHeader("Cookie", "SESSION=" + session.getId());
配置文件:
#不加这句话导致session不一致
zuul.routes.intelligentsia-authority.sensitiveHeaders = Authorization
过滤器里面
//这句话导致session不一致
// ctx.addZuulRequestHeader("Cookie", "SESSION=" + session.getId());