|
@@ -67,6 +67,7 @@ public class LinkController {
|
|
int whiteCount = ipWhitelistService.count(new LambdaQueryWrapper<IpWhitelist>().eq(IpWhitelist::getCallNo, schemeParam.getCallNo())
|
|
int whiteCount = ipWhitelistService.count(new LambdaQueryWrapper<IpWhitelist>().eq(IpWhitelist::getCallNo, schemeParam.getCallNo())
|
|
.eq(IpWhitelist::getIpAddr, ipaddr));
|
|
.eq(IpWhitelist::getIpAddr, ipaddr));
|
|
if (whiteCount <= 0) {
|
|
if (whiteCount <= 0) {
|
|
|
|
+ LogUtil.info(logger, "调用方不在白名单,callNo:{0},ip:{1}", schemeParam.getCallNo(), ipaddr);
|
|
return AjaxResult.error("您不在白名单中,请联系管理员");
|
|
return AjaxResult.error("您不在白名单中,请联系管理员");
|
|
}
|
|
}
|
|
|
|
|