@Override
public Object run() throws ZuulException {
RequestContext requestContext = RequestContext.getCurrentContext();
...
requestContext.addZuulRequestHeader("要加的参数名", "要加的参数值");
...
}
注意:本文归作者所有,未经作者允许,不得转载
@Override
public Object run() throws ZuulException {
RequestContext requestContext = RequestContext.getCurrentContext();
...
requestContext.addZuulRequestHeader("要加的参数名", "要加的参数值");
...
}
注意:本文归作者所有,未经作者允许,不得转载