This commit is contained in:
mashuai 2025-07-14 19:58:27 +08:00
parent 8687add275
commit b2a0b395b3
1 changed files with 4 additions and 4 deletions

View File

@ -134,10 +134,10 @@ public class RequestCoverFilter implements GlobalFilter, Ordered {
} }
// 校验数据完整性 // 校验数据完整性
if (integrality) { /*if (integrality) {
String providedHmac = requestBody.split("\\|")[1]; String providedHmac = requestBody.split("\\|")[1];
integrityVerification(providedHmac, requestBody.split("\\|")[0]); integrityVerification(providedHmac, requestBody.split("\\|")[0]);
} }*/
requestBody = requestBody.split("\\|")[0]; requestBody = requestBody.split("\\|")[0];
if (ObjectUtils.isEmpty(requestBody)) { if (ObjectUtils.isEmpty(requestBody)) {
return exchange.getResponse().setComplete(); return exchange.getResponse().setComplete();
@ -225,9 +225,9 @@ public class RequestCoverFilter implements GlobalFilter, Ordered {
// 校验数据完整性 // 校验数据完整性
// 校验数据完整性 // 校验数据完整性
if (integrality) { /* if (integrality) {
integrityVerification(query.split("\\|")[1], query.split("\\|")[0]); integrityVerification(query.split("\\|")[1], query.split("\\|")[0]);
} }*/
if (ObjectUtils.isEmpty(query)) { if (ObjectUtils.isEmpty(query)) {
return null; return null;