zuul前置过滤器往header加点参数

大老板 2月前 ⋅ 232 阅读
@Override
public Object run() throws ZuulException {
    RequestContext requestContext = RequestContext.getCurrentContext();
    ...
    requestContext.addZuulRequestHeader("要加的参数名", "要加的参数值");
    ...
}

全部评论: 0

    我有话说: