回滚对get请求parameter加解密的方法
This commit is contained in:
parent
6285187a44
commit
8ae40fdb5c
|
|
@ -108,7 +108,8 @@ public class RequestCoverFilter implements GlobalFilter, Ordered {
|
||||||
MediaType contentType = request.getHeaders().getContentType();
|
MediaType contentType = request.getHeaders().getContentType();
|
||||||
if (contentType == null) {
|
if (contentType == null) {
|
||||||
log.info("请求头中无Content-Type信息,直接继续过滤链。");
|
log.info("请求头中无Content-Type信息,直接继续过滤链。");
|
||||||
return handleUrlParams(exchange, chain);
|
return chain.filter(exchange);
|
||||||
|
// return handleUrlParams(exchange, chain);
|
||||||
} else if (contentType.isCompatibleWith(MediaType.APPLICATION_JSON)) {
|
} else if (contentType.isCompatibleWith(MediaType.APPLICATION_JSON)) {
|
||||||
return handleBodyRequest(exchange, chain);
|
return handleBodyRequest(exchange, chain);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue