Commit 6000b3c3 authored by matianhao's avatar matianhao

[瑞成接口] <fix> 修改接口响应

 - 六十六.浙江省企业基本信息查询:增加响应头
parent ef16a5bc
...@@ -1217,7 +1217,7 @@ public class RequestController { ...@@ -1217,7 +1217,7 @@ public class RequestController {
shareholderInfoJsonArray.add(jsonObject); shareholderInfoJsonArray.add(jsonObject);
}); });
((JSONObject) jsonResponse.getJSONArray("datas").get(0)).put("shareholderInfoList", shareholderInfoJsonArray); ((JSONObject) jsonResponse.getJSONArray("datas").get(0)).put("shareholderInfoList", shareholderInfoJsonArray);
return new ResponseEntity<>(jsonResponse.toJSONString(), HttpStatus.OK); return new ResponseEntity<>(jsonResponse.toJSONString(), response.getHeaders(), HttpStatus.OK);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment