|
@@ -779,7 +779,7 @@ public class ItfwServer {
|
|
|
|
|
|
log.info("证件照片接口服务响应信息:{}", body);
|
|
|
|
|
|
- if (StrUtil.isEmpty(body)) {
|
|
|
+ if (StrUtil.isEmpty(body) || body.contains("errCode")) {
|
|
|
return null;
|
|
|
}
|
|
|
PctzjzpResultDTO pctzjzpResultDTO = JSON.parseObject(body, PctzjzpResultDTO.class);
|
|
@@ -843,7 +843,7 @@ public class ItfwServer {
|
|
|
|
|
|
log.info("杭州市重点人员底库数据查询接口服务响应信息:{}", body);
|
|
|
deleteKeys(cacheStatusKey);
|
|
|
- if (StrUtil.isEmpty(body)) {
|
|
|
+ if (StrUtil.isEmpty(body) || body.contains("errCode")) {
|
|
|
return null;
|
|
|
}
|
|
|
PctzdrydkResultDTO pctzdrydkResultDTO = JSON.parseObject(body, PctzdrydkResultDTO.class);
|