This commit is contained in:
2024 2024-08-28 12:32:34 +08:00
parent 38b3133bcd
commit 03f8264ed3
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ def serverJ(title, content):
"text": title, "text": title,
"desp": content.replace("\n", "\n\n") "desp": content.replace("\n", "\n\n")
} }
response = requests.post(f"https://sc.ftqq.com/{PUSH_KEY}.send", data=data).json() response = requests.post(f"https://sctapi.ftqq.com/{PUSH_KEY}.send", data=data).json()
if response['errno'] == 0: if response['errno'] == 0:
print('推送成功!') print('推送成功!')
else: else: