增加待看名单功能

This commit is contained in:
2025-09-06 10:03:00 +08:00
parent 9b2527379a
commit 8258d7c63b
9 changed files with 2151 additions and 3 deletions
+10
View File
@@ -145,6 +145,15 @@ backend/
- `POST /api/repository/migrate-old-to-new` - 从旧目录迁移到新目录
- 参数: `oldDir` (旧目录路径), `newDir` (新目录路径)
### 待看名单相关
- `GET /api/watchlist` - 获取所有待看项目
- `POST /api/watchlist` - 添加待看项目
- 参数: `url` (必填), `title` (可选,不提供则自动生成)
- `PUT /api/watchlist/:id` - 更新待看项目
- 参数: `title` (项目标题)
- `DELETE /api/watchlist/:id` - 删除待看项目
## 🔧 配置说明
### 代理配置
@@ -178,6 +187,7 @@ backend/
- **download.js**: 下载相关路由
- **repository.js**: 仓库管理路由
- **proxy.js**: 代理服务路由
- **watchlist.js**: 待看名单路由
### 服务层