|
@@ -227,7 +227,7 @@ public class HealthCodeServiceImpl implements HealthCodeService {
|
|
|
}
|
|
|
|
|
|
public HealtCodeUserVO getShortTermUser(String sfzh, String name) throws Exception {
|
|
|
- log.info("江干分局健康码传参,身份证{} 姓名 {}", sfzh, name);
|
|
|
+ log.info("省大数据健康码传参,身份证{} 姓名 {}", sfzh, name);
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("sfzh", sfzh);
|
|
|
jsonObject.put("xm", name);
|
|
@@ -236,9 +236,9 @@ public class HealthCodeServiceImpl implements HealthCodeService {
|
|
|
.localPost(jsonObject.toJSONString())
|
|
|
.sync();
|
|
|
if (sync.contains("请求失败:Connect timed out")) {
|
|
|
- throw new ServiceException("江干分局请重试");
|
|
|
+ throw new ServiceException("省大数据请重试");
|
|
|
}
|
|
|
- log.info("江干分局健康码返回结果,{}", sync);
|
|
|
+ log.info("省大数据健康码返回结果,{}", sync);
|
|
|
HealtCodeUserVO healtCodeUserVO = new HealtCodeUserVO();
|
|
|
if (StringUtils.isNotBlank(sync)) {
|
|
|
JSONObject json = JSON.parseObject(sync);
|
|
@@ -249,7 +249,7 @@ public class HealthCodeServiceImpl implements HealthCodeService {
|
|
|
// healtCodeUserVO.getNuclein().forEach(v -> v.setReportTime(v.getChecktime()));
|
|
|
healtCodeUserVO.setVaccineNum(json.getString("vaccine_num"));
|
|
|
} else {
|
|
|
- throw new ServiceException("江干分局异常:" + jsonObject.getString("msg"));
|
|
|
+ throw new ServiceException("省大数据异常:" + jsonObject.getString("msg"));
|
|
|
}
|
|
|
}
|
|
|
return healtCodeUserVO;
|