exchange.getRequest().mutate().headers(
httpHeaders -> {
httpHeaders.add("wmUserId", userId.toString());
}
).build();
在gateway网关的全局过滤器添加新的请求头
最新推荐文章于 2024-08-09 22:28:37 发布