diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnterpriseInformationServiceImpl.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnterpriseInformationServiceImpl.java index 465d4c18..6275ddc0 100644 --- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnterpriseInformationServiceImpl.java +++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnterpriseInformationServiceImpl.java @@ -411,6 +411,11 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS @Override public EnterpriseInformation paresEnterpriseCode(String url) { + log.info("获取市监地址,地址信息:{}",url); + if(StringUtils.isEmpty(url)){ + log.info("获取市监地址,地址为空:{}",url); + return null; + } String s = HttpUtil.HttpSendGet(url); if(StringUtils.isNotEmpty(s)){ EnterpriseInformation enterpriseInformation =