Files
MemRelay/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-16 03-47-05 UTC [a8d3424163].md
T
memrelay aeb32a1cdb create: Checkpoint 2026-11-16 03:47:05 UTC [a8d3424163]
MemRelay-Operation: checkpoint-save:euniv-client-encrypt-review-2026-11-16-1135
MemRelay-Resource: 5813c0c2-e7fa-4106-97cc-bf1e915626f1
2026-11-16 11:47:09 +08:00

29 lines
2.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-11-16 03:47:05 UTC [a8d3424163]
type: checkpoint
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-11-16-03-47-05-utc-a8d3424163
stable_id: 5813c0c2-e7fa-4106-97cc-bf1e915626f1
scope: project
memory_type: checkpoint
project_id: f5708b07-f0ea-42a4-b4ed-0e5443990ff9
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: euniv-client-encrypt-review-2026-11-16-1135
created_at: '2026-11-16T03:47:05.450118+00:00'
updated_at: '2026-11-16T03:47:05.450118+00:00'
tags:
- euniv
- review
- handoff
---
交接:本轮只改了 backend/euniv/client.py 和 backend/euniv/encrypt.py,没有提交、没有推送。
已做:删掉同步学习方法、open_session、study_snapshot、code_of、home_snapshot、user_id;保留 user_info。CLASS_API 常量按要求留下,但它原先只被 study_snapshot 使用,online_trainings 并不读它,现在没有调用方。import json 已无用,已删。
P3-10 考试排序改按北京时间 CN_TZ。P3-29 拼图越界在循环前抛 JigsawRejected,range(limit+1),只扫滑块所在横带。P3-30 response.json 有保护,换 token 同时写 euniv.zte.com.cn 和 .yunxuetang.cn,多余循环已删。P3-31 请求钩子拒绝非 https,回调必须以 REDIRECT_URI 开头,没有关证书校验。P3-32 名称字段用 html.unescape。P3-33 学时分页先判重再累加。P3-34 login 超过 245 字节抛「账号或密码过长」。P3-35 缺 cookie 对外只说「学习平台没有返回登录会话」,清单写 warning。P3-36 传输异常和 JSON 解析失败当等待,连续 5 次才失败,成功解析会清零。P3-37 authorize 业务失败改为 SessionExpired。P3-38 课程清单差额不超过总数 1% 记 warning 并接受。审查第 22 条:播放脚本只接受 euniv.zte.com.cn 和 staticbdc1.yunxuetang.cn,失败冷却 5 分钟并用 warning,同一时刻只允许一次拉取。
没有改心跳字段顺序,没有恢复 STUDY_MD5_KEY,扫码标记仍是扫码登陆,没有关证书校验,没有放开内网代理。
验证:backend/tests/test_encrypt.py、test_api.py、test_uac.py 为 31 passed。另外用合成图确认拼图最右侧位置、越界抛 JigsawRejected、重复学时页不双计、非法脚本主机被拒、超长账号报「账号或密码过长」。
下一步:代理池 12-14、78-84;自动学习 1-7、63-77;前端剩余文案、无障碍和重复函数。不要改 0001,不要改扫码标记四个字,不要恢复 STUDY_MD5_KEY,不要给 6650000146 点立即开始。本轮改动还没提交。