|
|
|
@ -208,16 +208,15 @@ public class RemoteCallsServiceImpl implements RemoteCallsService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 重点人员接口
|
|
|
|
|
*
|
|
|
|
|
* @param yesterdayStr 昨天日期字符串 yyyy-MM-dd
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public void keypersonAlgorithm(String yesterdayStr) {
|
|
|
|
|
public void keypersonAlgorithm() {
|
|
|
|
|
Map<String, Object> body = new HashMap<>();
|
|
|
|
|
body.put("data", yesterdayStr);
|
|
|
|
|
//data写死成3
|
|
|
|
|
body.put("data", 3);
|
|
|
|
|
String bodyStr = JSONUtil.toJsonStr(body);
|
|
|
|
|
HttpRequest.post("http://localhost:9003/keyperson_algorithm").body(bodyStr).execute().body();
|
|
|
|
|
log.info(yesterdayStr);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -320,6 +319,22 @@ public class RemoteCallsServiceImpl implements RemoteCallsService {
|
|
|
|
|
HttpRequest.post(url + "/gateway/event/event/eventData/imports").header("Authorization", "Bearer " + accessToken).body(jsonStr).execute().body();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void samepersonComplaint() {
|
|
|
|
|
Map<String, Object> body = new HashMap<>();
|
|
|
|
|
body.put("data", 7);
|
|
|
|
|
String bodyStr = JSONUtil.toJsonStr(body);
|
|
|
|
|
HttpRequest.post("http://localhost:9003/oneperson_algorithm").body(bodyStr).execute().body();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void onepersonSues() {
|
|
|
|
|
Map<String, Object> body = new HashMap<>();
|
|
|
|
|
body.put("data", 7);
|
|
|
|
|
String bodyStr = JSONUtil.toJsonStr(body);
|
|
|
|
|
HttpRequest.post("http://localhost:9003/oneperson_muti_algorithm").body(bodyStr).execute().body();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取社会治理中心增量事件保存到events_import表
|
|
|
|
|
*
|
|
|
|
|