feat: add feishu and aliyunsms

This commit is contained in:
engigu
2025-12-17 21:51:21 +08:00
parent f520dbf746
commit 64f746a7ec
16 changed files with 537 additions and 165 deletions
+19
View File
@@ -47,6 +47,25 @@ var HostedMsgCleanDefaultValueMap = map[string]string{
const AboutSectionName = "about"
// 消息格式类型常量
const (
FormatTypeText = "text"
FormatTypeHTML = "html"
FormatTypeMarkdown = "markdown"
)
// 消息类型常量
const (
MessageTypeEmail = "Email"
MessageTypeDtalk = "Dtalk"
MessageTypeQyWeiXin = "QyWeiXin"
MessageTypeFeishu = "Feishu"
MessageTypeCustom = "Custom"
MessageTypeWeChatOFAccount = "WeChatOFAccount"
MessageTypeMessageNest = "MessageNest"
MessageTypeAliyunSMS = "AliyunSMS"
)
// 限制goroutine的最大数量
var MaxSendTaskSemaphoreChan = make(chan string, 2048)