Merge branch 'dev-V0.5.0' of https://gitee.com/open-iita/iotkit-parent into dev-V0.5.0

V0.5.x
xiwa 2024-02-20 21:13:56 +08:00
commit 181a8af8fa
2 changed files with 2 additions and 2 deletions

View File

@ -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()));
} }

View File

@ -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()));
} }