回滚对get请求parameter加解密的方法

This commit is contained in:
weiweiw 2024-08-26 13:03:47 +08:00
parent 6285187a44
commit 8ae40fdb5c
1 changed files with 2 additions and 1 deletions

View File

@ -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 {