|
@@ -332,6 +332,21 @@ public class AddressQueryEngine {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
+ public Object putDataToSJ_Big_Data3(JSONObject datas) {
|
|
|
+ JSONObject params = new JSONObject();
|
|
|
+ params.put("catalogName", "企业年报基本信息");
|
|
|
+ params.put("catalogCode", "070501723/013579");
|
|
|
+ params.put("timeStamp", System.currentTimeMillis());
|
|
|
+ JSONArray dataList = new JSONArray();
|
|
|
+ dataList.add(datas);
|
|
|
+ params.put("dataList", dataList);
|
|
|
+ ResponseEntity response = AddressNetTools.getInstance().requestGetOrPost(HttpMethod.POST, Constant.SJ_BIGDATA_KAFKA_URL, params, initSigns(), 0);
|
|
|
+ if (response != null && response.hasBody()) {
|
|
|
+ return response.getBody() + "";
|
|
|
+ }
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
/***
|
|
|
* 高德普通地名搜索
|
|
|
* @param address
|