1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2025-07-13 16:13:07 +08:00
This commit is contained in:
2024
2024-08-28 12:32:34 +08:00
parent 38b3133bcd
commit 03f8264ed3

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: