fix: pushpush推送&优化显示

This commit is contained in:
yuk7-0v0 2022-01-09 09:35:24 +08:00
parent 3235dfecfe
commit 99fa41e2db

View File

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