| | |
| | | reqData.setData(ShRSAUtils.encryptByPubKey(jsonData, conf.getPublicKey())); |
| | | //摘要,数据主体的MD5值 |
| | | reqData.setDigst(MyMD5Util.encrypt(jsonData)); |
| | | log.info("上报数据信息=" + JSON.toJSONString(reqData)); |
| | | log.debug("上报数据信息=" + JSON.toJSONString(reqData)); |
| | | SH2023RespDto responseDto = SH2023HttpClientUtil.postPushData(conf.getApiUrl() + inteId, JSON.toJSONString(reqData), conf); |
| | | |
| | | apiLog.setStatus(responseDto.getCode() == 200 ? 0 : responseDto.getCode()); |
| | |
| | | if (null == apiData.getBclbs()) { |
| | | api1208.setBclbs(0); |
| | | } |
| | | if ("2".equals(apiData.getClfs()) && apiData.getBclbs() == 0) { |
| | | if ("2".equals(apiData.getClfs())) { |
| | | api1208.setBclbs((int) (apiData.getSjsl() / 25)); |
| | | api1208.setCplgg(25); |
| | | api1208.setCplbs(api1208.getBclbs()); |
| | | } |
| | | |
| | | //设置空属性为默认值 |
| | | changeObject(api1208); |
| | | return api1208; |