|
@@ -133,6 +133,8 @@ public class CheckViewBizAuthAspect {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ log.info("请求ip:{}", remoteIp);
|
|
|
|
+ log.info("参数ip:{}", ip);
|
|
if(StrUtil.isNotEmpty(ip) && !ip.equals(remoteIp)){
|
|
if(StrUtil.isNotEmpty(ip) && !ip.equals(remoteIp)){
|
|
throw new BusinessException(ErrorCode.AUTH_FAIL.code(), "ip不匹配");
|
|
throw new BusinessException(ErrorCode.AUTH_FAIL.code(), "ip不匹配");
|
|
}
|
|
}
|