mirror of
https://github.com/6dylan6/jdpro.git
synced 2025-07-14 00:23:10 +08:00
1
This commit is contained in:
@ -159,7 +159,7 @@ def serverJ(title, content):
|
||||
"text": title,
|
||||
"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:
|
||||
print('推送成功!')
|
||||
else:
|
||||
|
Reference in New Issue
Block a user