修复开发者密钥时间显示
Project CI / Repository checks (push) Failing after 40s
Project CI / Frontend tests (push) Successful in 3m8s
Project CI / Backend tests (push) Successful in 3m55s
Project CI / Native shell tests (push) Successful in 14m3s

复用个人中心时间解析逻辑格式化秒级小数时间戳
统一展示密钥创建时间和最近使用时间
补充弹窗回归测试与接入文档约束
This commit is contained in:
2026-08-05 21:48:30 +08:00
parent 8f19964e3f
commit e5ebdf0a8e
3 changed files with 48 additions and 9 deletions
@@ -123,7 +123,7 @@ POST /api/profile/api-keys
DELETE /api/profile/api-keys/{keyId}
```
前端入口位于登录后个人中心的 `我的 → 开发者 API Key`,用于查看当前 Key、创建新 Key、复制一次性明文和撤销已创建 Key。外部 OpenAPI 只描述 `/api/external/v1` 下可由 API Key 调用的接口,不混入登录态 API Key 管理接口。
前端入口位于登录后个人中心的 `我的 → 开发者 API Key`,用于查看当前 Key、创建新 Key、复制一次性明文和撤销已创建 Key。Key 卡片中的创建时间和最近使用时间必须格式化为 `YYYY-MM-DD`,不得直接展示后端时间戳。外部 OpenAPI 只描述 `/api/external/v1` 下可由 API Key 调用的接口,不混入登录态 API Key 管理接口。
## 版本与兼容策略