From 0f5281e14267bd195f5ba99e2eba6b9931188e61 Mon Sep 17 00:00:00 2001 From: chenrui <1950717904@qq.com> Date: Mon, 4 Nov 2024 17:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E8=90=A5=E4=B8=9A=E6=89=A7?= =?UTF-8?q?=E7=85=A7=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=89=AB=E6=8F=8F=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../code/service/impl/EnterpriseInformationServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) 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 =