Merge branch 'dev-V0.5.0' of https://gitee.com/open-iita/iotkit-parent into dev-V0.5.0
commit
181a8af8fa
|
@ -33,7 +33,7 @@ public class DingTalkEventListener implements MessageEventListener {
|
||||||
.text(DingTalkMessage.MessageContent.builder().content(message.getFormatContent()).build())
|
.text(DingTalkMessage.MessageContent.builder().content(message.getFormatContent()).build())
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
client.getAbs(dingTalkConfig.getDingTalkWebhook()).sendJson(qyWechatMessage)
|
client.postAbs(dingTalkConfig.getDingTalkWebhook()).sendJson(qyWechatMessage)
|
||||||
.onSuccess(response -> log.info("Received response with status code" + response.statusCode()))
|
.onSuccess(response -> log.info("Received response with status code" + response.statusCode()))
|
||||||
.onFailure(err -> log.error("Something went wrong " + err.getMessage()));
|
.onFailure(err -> log.error("Something went wrong " + err.getMessage()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class QyWechatEventListener implements MessageEventListener {
|
||||||
.text(QyWechatMessage.MessageContent.builder().content(message.getFormatContent()).build())
|
.text(QyWechatMessage.MessageContent.builder().content(message.getFormatContent()).build())
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
client.getAbs(qyWechatConfig.getQyWechatWebhook()).sendJson(qyWechatMessage)
|
client.postAbs(qyWechatConfig.getQyWechatWebhook()).sendJson(qyWechatMessage)
|
||||||
.onSuccess(response -> log.info("Received response with status code" + response.statusCode()))
|
.onSuccess(response -> log.info("Received response with status code" + response.statusCode()))
|
||||||
.onFailure(err -> log.error("Something went wrong " + err.getMessage()));
|
.onFailure(err -> log.error("Something went wrong " + err.getMessage()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue