使用JerseyClientUtil远程调用获得的response中的值
由于某些原因,没有使用接口。
Response response = JerseyClientUtil.httpPostJson(workflowUrl+"/ddd/dddd/ddddd/statelessForBlind",signupRecordHandleParam);
if (response != null && response.getStatus() == 200) {
Map<String, Object> responseMap = response.readEntity(Map.class);
String orderNo = responseMap.get("orderNo").toString();
if(responseMap != null && !StringUtils.isEmpty(orderNo)) {
try {
signupRecordHandleVO.setOrderNo(orderNo);
jyGoodsEntrustFeignClient.addHandle(signupRecordHandleVO);
} catch (Exception ex) {
ex.printStackTrace();
logger.error("fffff",ex);
return false;
}
}