create: Checkpoint 2026-10-26 10:11:58 UTC [aad0c10e62]

MemRelay-Operation: checkpoint-save:euniv-home-checkpoint-20261026
MemRelay-Resource: c378cf43-23c1-4901-a600-a95b586f037a
This commit is contained in:
2026-10-26 18:12:02 +08:00
parent 0ef9199ce9
commit d7a34181fd
@@ -0,0 +1,22 @@
---
title: Checkpoint 2026-10-26 10:11:58 UTC [aad0c10e62]
type: checkpoint
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-10-26-10-11-58-utc-aad0c10e62
stable_id: c378cf43-23c1-4901-a600-a95b586f037a
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-home-checkpoint-20261026
created_at: '2026-10-26T10:11:58.385981+00:00'
updated_at: '2026-10-26T10:11:58.385981+00:00'
tags:
- handoff
---
完成内容:去掉使用者页。登录成功后进入首页,展示头像、姓名、部门、本年/本月学分、累计学时学分、今日学时学分、待考试状态。这些数据走 GET /api/home,不写入数据库,前端每 30 秒重取。登录时完成 UCS 登录和学习平台授权,把 ucs token 与 yxt token 加密写入 accounts.credential_cipher;home 请求若发现 token 变化或失效会重新登录并更新密文。退出按钮与主题切换同一行,在其右侧。侧栏顶部保留 E 和 EunivTools。
验证:pytest 通过;浏览器登录 6650000146 后首页显示姓名、学分、学时,待考试为没有;数据库列只有 employee_id、password_cipher、credential_cipher,明文凭证不含姓名和学时。
下一步:如果用户要本年/本月学时,平台现有 frw/user/info 只给学分,需要再找学时口径。待考试数量大于 0 时,清单解析依赖考试页里的 lblExamName,还没有真实非空清单验证。
给下个会话:不要把个人信息写入本地库。不要实现伪造心跳。本地服务在 127.0.0.1:8000,密钥是开发环境变量,不要写进代码。