Commit c1ef563d authored by 赵啸非's avatar 赵啸非

添加接口同步效能记录

parent 18361d5d
...@@ -141,6 +141,7 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf ...@@ -141,6 +141,7 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
String resp = null; String resp = null;
try { try {
resp = HttpUtil.createPost(xnjcUrl).form(params).timeout(60000).execute().body(); resp = HttpUtil.createPost(xnjcUrl).form(params).timeout(60000).execute().body();
log.info("resp==>{}",resp);
if (ObjectUtils.isEmpty(resp)) throw new AppException("请求失败!"); if (ObjectUtils.isEmpty(resp)) throw new AppException("请求失败!");
ApiResp<List<EffectSaveReq>> rest = JSON.parseObject(resp, new TypeReference<ApiResp<List<EffectSaveReq>>>() { ApiResp<List<EffectSaveReq>> rest = JSON.parseObject(resp, new TypeReference<ApiResp<List<EffectSaveReq>>>() {
}); });
......
...@@ -109,8 +109,8 @@ POST {{baseUrl}}/perform/effect/record/sync ...@@ -109,8 +109,8 @@ POST {{baseUrl}}/perform/effect/record/sync
Content-Type: application/json Content-Type: application/json
{ {
"happenTimeStart": "2024-03-07", "happenTimeStart": "2024-03-08",
"happenTimeEnd": "2024-03-07" "happenTimeEnd": "2024-03-08"
} }
......
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