Commit 4a8c2e1
committed
#### ✨ **新功能 (New Features)**
- 新增附件上传接口 `POST /api/file`,支持通过 `multipart/form-data` 上传文件并自动同步。
#### 🛠 **修复 (Bug Fixes)**
- 修正 `Cors` 中间件逻辑,允许 `/api/health` 接口跨域访问,解决监控系统调用时的 CORS 拦截问题。
#### ⚡️ **优化与性能 (Optimizations)**
- 新增笔记/附件自动去重任务,解决历史数据因哈希算法不一致导致的记录冗余。1 parent c5ceded commit 4a8c2e1
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments