This commit is contained in:
parent
8687add275
commit
b2a0b395b3
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue