用户登录问题修改
This commit is contained in:
parent
d4fd8d7a10
commit
5ce48ab5a1
|
|
@ -160,14 +160,13 @@ public class RequestCoverFilter implements GlobalFilter, Ordered {
|
||||||
if (ObjectUtils.isEmpty(requestBody)) {
|
if (ObjectUtils.isEmpty(requestBody)) {
|
||||||
return exchange.getResponse().setComplete();
|
return exchange.getResponse().setComplete();
|
||||||
}
|
}
|
||||||
requestBody = requestBody.split("\\|")[0];
|
|
||||||
// 校验数据完整性
|
// 校验数据完整性
|
||||||
if (integrality) {
|
if (integrality) {
|
||||||
String providedHmac = requestBody.split("\\|")[1];
|
String providedHmac = requestBody.split("\\|")[1];
|
||||||
|
integrityVerification(providedHmac, requestBody.split("\\|")[0]);
|
||||||
integrityVerification(providedHmac, requestBody);
|
|
||||||
}
|
}
|
||||||
|
requestBody = requestBody.split("\\|")[0];
|
||||||
if (ObjectUtils.isEmpty(requestBody)) {
|
if (ObjectUtils.isEmpty(requestBody)) {
|
||||||
return exchange.getResponse().setComplete();
|
return exchange.getResponse().setComplete();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue