Class FeiShuUtil
java.lang.Object
cn.toint.oktool.util.FeiShuUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateWebhookSign(String secret, Long timestamp) 生成 webhook 签名static voidsendWebhookTextMsg(String url, String secret, String text) 发送文本消息 - webhookstatic voidsendWebhookTextMsgAsync(String url, String secret, String text) 发送文本消息 - webhook
-
Constructor Details
-
FeiShuUtil
public FeiShuUtil()
-
-
Method Details
-
createWebhookSign
-
sendWebhookTextMsgAsync
发送文本消息 - webhook- Parameters:
url- urlsecret- secrettext- text- Throws:
RuntimeException- 发送失败
-
sendWebhookTextMsg
发送文本消息 - webhook- Parameters:
url- urlsecret- secrettext- text- Throws:
RuntimeException- 发送失败
-