From 23d26e1356af777015d6502bfc794857fa90ab0b Mon Sep 17 00:00:00 2001 From: MemRelay Date: Fri, 6 Nov 2026 18:01:14 +0800 Subject: [PATCH] =?UTF-8?q?create:=20PunchLog=20=E5=BE=85=E5=81=9A?= =?UTF-8?q?=EF=BC=9Atoken=20=E4=BF=9D=E6=B4=BB=E6=9C=8D=E5=8A=A1=EF=BC=88?= =?UTF-8?q?=E6=9C=AA=E6=9D=A5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MemRelay-Operation: memory-save:punchlog-task-token-keepalive-20261106 MemRelay-Resource: 4e5c136e-bddc-4d9f-80d3-544cb26ef558 --- .../PunchLog 待做:token 保活服务(未来).md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 projects/a84c6646-289e-46f8-b0f9-41317c651955/PunchLog 待做:token 保活服务(未来).md diff --git a/projects/a84c6646-289e-46f8-b0f9-41317c651955/PunchLog 待做:token 保活服务(未来).md b/projects/a84c6646-289e-46f8-b0f9-41317c651955/PunchLog 待做:token 保活服务(未来).md new file mode 100644 index 0000000..4326755 --- /dev/null +++ b/projects/a84c6646-289e-46f8-b0f9-41317c651955/PunchLog 待做:token 保活服务(未来).md @@ -0,0 +1,24 @@ +--- +title: PunchLog 待做:token 保活服务(未来) +type: task_list +permalink: main/projects/a84c6646-289e-46f8-b0f9-41317c651955/punch-log-待做-token-保活服务未来 +stable_id: 4e5c136e-bddc-4d9f-80d3-544cb26ef558 +scope: project +memory_type: task_list +project_id: a84c6646-289e-46f8-b0f9-41317c651955 +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: punchlog-task-token-keepalive-20261106 +created_at: '2026-11-06T10:01:09.624825+00:00' +updated_at: '2026-11-06T10:01:09.624825+00:00' +tags: +- token +- keepalive +- todo +--- + +用户决定(当前不实现,仅记录): +- token 日常:先靠手机偶尔抓包刷新(tools/extract_token.py)。 +- 未来计划:做一个持续运行的服务,按随机间隔(5–120 分钟随机)定时调用接口来保持凭据(token)有效,避免失效。 +- 实现时可用一个轻量心跳请求(如 listMy 或其他只需 token 的 GET)刷新会话;注意别让间隔固定,用随机间隔。token 本身长效,但持续保活可进一步防止长时间闲置过期。 \ No newline at end of file