Ver código fonte

增加请求参数日志打印

tags/24080901
CMM 5 meses atrás
pai
commit
a2fa4f225a
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/external/MhApiClient.java

+ 2
- 0
hz-pm-api/src/main/java/com/hz/pm/api/external/MhApiClient.java Ver arquivo

@@ -197,6 +197,7 @@ public class MhApiClient {
return;
}
String requestUrl = mhApiHost + PUSH_MEETING_EXPERTS_DATA;
log.info("推送会议专家信息到MH:{}", data);
String retBody = HttpUtil.post(requestUrl, JSONUtil.toJsonStr(data));
MhRetDTO<Object> retObj = JSONUtil.toBean(retBody,
new TypeReference<MhRetDTO<Object>>() {
@@ -211,6 +212,7 @@ public class MhApiClient {
return;
}
String requestUrl = mhApiHost + CANCEL_MEETING_DATA;
log.info("取消会议推送到MH:{}", meetingId);
String retBody = HttpUtil.post(requestUrl, JSONUtil.toJsonStr(meetingId));
MhRetDTO<Object> retObj = JSONUtil.toBean(retBody,
new TypeReference<MhRetDTO<Object>>() {


Carregando…
Cancelar
Salvar