parent
790720446a
commit
f8c2a6227e
|
@ -76,7 +76,7 @@ public class HeaderCheckAspect {
|
||||||
.tenantId(tenantSecretKey.getId())
|
.tenantId(tenantSecretKey.getId())
|
||||||
.whiteIp(IpUtils.getIpAddr())
|
.whiteIp(IpUtils.getIpAddr())
|
||||||
.build());
|
.build());
|
||||||
Assert.isTrue(!tenantWhites.isEmpty(), "当前租户不在白名单内");
|
Assert.isTrue(!tenantWhites.isEmpty(), "当前"+IpUtils.getIpAddr()+"不在白名单内");
|
||||||
|
|
||||||
String keyG = Md5Utils.md5New(random + key + tenantSecretKey.getTenantSecret());
|
String keyG = Md5Utils.md5New(random + key + tenantSecretKey.getTenantSecret());
|
||||||
Assert.isTrue(keyG.equals(sign), "签名错误");
|
Assert.isTrue(keyG.equals(sign), "签名错误");
|
||||||
|
|
Loading…
Reference in New Issue