| | |
| | | rs = null; |
| | | return new ShjdjwRespDto(99,e.getMessage()); |
| | | } |
| | | if(StringUtils.isNotEmpty(rs)){ |
| | | rs = rs.replaceAll("\"", ""); |
| | | log.info("---------接口返回,秘文:" + rs +"---------"); |
| | | rs = AESUtils.decrypt(rs, apiConfs.getPublicKey()); |
| | | log.info("---------接口返回,解析后:" + rs +"---------"); |
| | | responseDto = JSON.parseObject(rs, ShjdjwRespDto.class); |
| | | } |
| | | |
| | | log.info("---------接口返回:" + rs +"---------"); |
| | | responseDto = JSON.parseObject(rs,ShjdjwRespDto.class); |
| | | if(responseDto == null ) return new ShjdjwRespDto(99,"接口请求发生未知错误"); |
| | | return responseDto; |
| | | } finally { |