mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 07:41:10 +08:00
新增企业微信通道
新增申请证书buypass 新增版本更新提醒 webhook、企业微信支持动态参数 监控支持域名加端口 ssh部署支持域名
This commit is contained in:
@@ -130,6 +130,8 @@ func NotifyTest(id string) error {
|
||||
err = NotifyFeishu(params)
|
||||
case "dingtalk":
|
||||
err = NotifyDingtalk(params)
|
||||
case "workwx":
|
||||
err = NotifyWorkWx(params)
|
||||
}
|
||||
return err
|
||||
}
|
||||
@@ -153,6 +155,8 @@ func Notify(params map[string]any) error {
|
||||
return NotifyFeishu(params)
|
||||
case "dingtalk":
|
||||
return NotifyDingtalk(params)
|
||||
case "workwx":
|
||||
return NotifyWorkWx(params)
|
||||
default:
|
||||
return fmt.Errorf("不支持的通知类型")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user