mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
2.0
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
# 常见问题
|
||||
|
||||
## 在zuul过滤器中获取请求参数
|
||||
|
||||
```java
|
||||
ApiParam param = ZuulContext.getApiParam();
|
||||
```
|
||||
|
||||
## 在SpringCloudGateway中获取请求参数
|
||||
|
||||
```java
|
||||
ApiParam apiParam = ServerWebExchangeUtil.getApiParam(exchange);
|
||||
```
|
||||
|
||||
## 微服务端如何获取appId等参数
|
||||
|
||||
```java
|
||||
|
Reference in New Issue
Block a user