From 99fa41e2db425f2200502dc0bbb857bff7eb1ca7 Mon Sep 17 00:00:00 2001 From: yuk7-0v0 <91721784+yuk7-0v0@users.noreply.github.com> Date: Sun, 9 Jan 2022 09:35:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pushpush=E6=8E=A8=E9=80=81&=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- push_main-pushplus.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/push_main-pushplus.py b/push_main-pushplus.py index a065a7b..5b61f48 100644 --- a/push_main-pushplus.py +++ b/push_main-pushplus.py @@ -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)