Files
zhiyin/.workbuddy/memory/2026-06-04.md
T
2026-06-08 16:28:00 +08:00

20 lines
1.2 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.
# 2026-06-04 全站数据源审计
## 发现并修复的问题
| 问题 | 情况 | 修复 |
|------|------|------|
| `api.ts` 引用已删除端点(knowledge.ai.payment | ❌ 运行时崩溃 | ✅ 全部清理,仅保留新后端 4 个模块 |
| `member.vue` 用旧 `api` 服务,expects `memberType` | ❌ 数据不对 | ✅ 改为读 `plan` 字段,用新 api 服务 |
| `result.vue` 用旧 `api` 服务 | ⚠️ 接口参数不同 | ✅ 已修复 api.ts 的 analyze 参数 |
| `index.vue` hotPositions 硬编码 | ❌ 静态数据 | ✅ 新增后端 `/api/positions/hot` 接口,前端动态获取 |
| `index.vue` "查看更多" ActionSheet 硬编码 | ❌ 静态数据 | ✅ 改为从 hotPositions 动态生成 |
| `about.vue` | ✅ 纯静态页面,合理 | - |
| `admin.vue` | ⚠️ 旧管理后台,暂无后端 | - |
## 新增功能
- **文件上传解析**`POST /api/upload`,支持 PDF/DOCX/TXT 文件解析为文本
- **简历页上传区**:点击上传文件 → 自动解析填入内容区
- **结果下载**:诊断/优化后 → 下载 TXT 或 HTML 文件
- **用户页改进**:未登录也可看到功能菜单,点击个人功能才弹登录引导