钉钉加签功能不生效
配置文件已开启钉钉加签,钉钉机器人地址解析加签参数 secret 为空,将使用不加签的地址!
配置如下
ddurl=https://oapi.dingtalk.com/robot/send?access_token=xxxx&secret=SECxxx
#是否开启加签
open-dingding-secret=1
这部分代码中加个 print 本地输出调试看下内容是什么,为什么判断 secret 为空?
👍,thanks a lot!
On Tue, Dec 26, 2023 at 11:34 AM Leslie Zhang @.***> wrote:
参考这个 issue: #363 https://github.com/feiyu563/PrometheusAlert/issues/363
— Reply to this email directly, view it on GitHub https://github.com/feiyu563/PrometheusAlert/issues/360#issuecomment-1869227446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSEODG27NI4KJP2BY2Q65LYLJATFAVCNFSM6AAAAABAKZ7VRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGIZDONBUGY . You are receiving this because you authored the thread.Message ID: @.***>