|
|
@ -100,9 +100,9 @@ func task(start, end int64) error { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func wechatHook(times int64, err error) { |
|
|
|
func wechatHook(times int64, err error) { |
|
|
|
envi := "测试11" |
|
|
|
envi := "测试" |
|
|
|
if k8sclient.Environment() == k8sclient.MasterNamespace { |
|
|
|
if k8sclient.Environment() == k8sclient.MasterNamespace { |
|
|
|
envi = "正式11" |
|
|
|
envi = "正式" |
|
|
|
} |
|
|
|
} |
|
|
|
hook := wechat.NewMarkdown("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=00dd9216-1f50-42be-8fe1-e66640d7bb27"). |
|
|
|
hook := wechat.NewMarkdown("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=00dd9216-1f50-42be-8fe1-e66640d7bb27"). |
|
|
|
Title(1, "直播间热度清理").Br(). |
|
|
|
Title(1, "直播间热度清理").Br(). |
|
|
|