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