Merge pull request #48 from Yuk-0v0/fix-pushpush

fix: pushpush推送&优化显示
This commit is contained in:
Womsxd 2022-01-09 14:21:40 +08:00 committed by GitHub
commit 59acd51761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,18 +23,18 @@ if opt_id != 0:
url=send_Url,
data={
"token": SendKey,
"title": "米游社脚本执行出错!",
"desp": "这里是运行相关日志:\r\n" + opt_info
"title": "「米游社-签到」Error!",
"content": opt_info.split()[-1] + "\n这里是运行相关日志:\r\n" + opt_info,
}
)
else:
print("OK!")
http.post(
url=send_Url,
data={
"token": SendKey,
"title": "米游社脚本执行成功",
"desp": "这里是运行相关日志:\r\n" + opt_info
"title": "「米游社-签到」OK!",
"content": opt_info.split()[-1] + "\n这里是运行相关日志:\r\n" + opt_info,
}
)
print("OK!")
exit(0)