Browse Source

补充营业执照二维码扫描日志打印

v4
chenrui 2 years ago
parent
commit
0f5281e142
  1. 5
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/EnterpriseInformationServiceImpl.java

5
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 =

Loading…
Cancel
Save