From 8c90fe29018c4417fb3e7e60987dcd9ed57f9c20 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Mon, 25 Dec 2023 17:36:20 +0800 Subject: [PATCH] Update --- zyys.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zyys.py b/zyys.py index 2315cc6..236c392 100644 --- a/zyys.py +++ b/zyys.py @@ -247,8 +247,14 @@ class Main(): print("获取签到信息...") data = self._client.get_ningbo_schedule_init_data() print("已签到列表:") + i = 1 for x in data["signlist"]: - print(x) + print(f"{i}.签到时间:{x['signtime']}") + print(f"地点:{x['longitude']},{x['latitude']}({x['localname']})") + print(f"签到类型:{x['signtype']}") + print(f"位置ID:{x['localtionid']}") + print(f"备注:{x['note']}") + i += 1 prompt = f"要进行{data['buttonname']}吗?(y/n)" while True: s = input(prompt)