feat(api): add public RESTful API with API key auth and documentation page

This commit is contained in:
2026-07-07 09:22:11 +08:00
parent 14c226d082
commit 6a49fedfbb
9 changed files with 910 additions and 5 deletions

View File

@@ -10,3 +10,10 @@
## 用户偏好
- 用户明确表示不需要我做浏览器测试,他自己测试即可。以后完成功能后直接提交,不再打开浏览器验证。
- 做功能时不要改动布局,只做最小改动。特别是做 i18n 时,只替换字符串,保持 HTML 结构完全一致。
## 后续功能
- 字体/颜色调整commit e875e90
- dt 标签不换行commit e178b93
- 英语本地化 i18ncommit 7e99ce9app/i18n.py + User.language 字段 + 导航栏切换 + 所有模板翻译键
- 去掉明信片编号格式限制commit 69a2ab3