修改群消息机器人地址

main
ZhuoZhou 2025-05-08 17:43:43 +08:00
parent 7b696ec4a8
commit 03e2e6667f
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import requests
class wechat_alert:
def alert(self, message, at_people_list=[], hook_url=None):
try:
webhook = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=25b70526-e844-46a2-a8e6-3ce69827ba9b" if hook_url == None else hook_url
webhook = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=08e26ad6-9b88-41ee-8864-bb84150c70d6" if hook_url == None else hook_url
header = {
"Content-Type": "application/json",
"Charset": "UTF-8"