|
6 | 6 |
|
7 | 7 | 这是一个获取滴答清单API接口项目,提供包括任务管理、专注记录、习惯打卡、数据导出等功能。 |
8 | 8 |
|
| 9 | +## 🌐 在线文档 |
| 10 | + |
| 11 | +- **📖 API文档**: [https://2977094657.github.io/DidaAPI/](https://2977094657.github.io/DidaAPI/) |
| 12 | +- **💻 项目地址**: [https://github.com/2977094657/DidaAPI](https://github.com/2977094657/DidaAPI) |
| 13 | + |
9 | 14 | ## 📋 API接口清单 |
10 | 15 |
|
11 | | -### 🔐 认证相关 (/auth) |
12 | | -- [x] **微信登录** |
| 16 | +- [x] **🔐 认证相关 (/auth)** |
13 | 17 | - [x] `GET /auth/wechat/qrcode` - 获取微信登录二维码 |
14 | 18 | - [x] `GET /auth/wechat/poll` - 轮询登录状态(自动检测) |
15 | 19 | - [x] `GET /auth/wechat/validate` - 验证微信登录 |
16 | | -- [x] **密码登录** |
17 | 20 | - [x] `POST /auth/password/login` - 密码登录 |
18 | | -- [x] **手动认证** |
19 | 21 | - [x] `POST /tasks/set-auth` - 手动设置认证(通常不需要) |
20 | 22 |
|
21 | | -### 📝 任务管理 (/tasks) |
22 | | -- [x] **任务查询** |
| 23 | +- [x] **📝 任务管理 (/tasks)** |
23 | 24 | - [x] `GET /tasks/all` - 获取所有任务 |
24 | 25 | - [x] `GET /tasks/completed` - 获取已完成/已放弃任务(支持分页) |
25 | 26 | - [x] `GET /tasks/trash` - 获取垃圾桶任务 |
26 | 27 | - [x] `GET /tasks/summary` - 获取任务统计 |
27 | 28 |
|
28 | | -### 📂 清单管理 (/projects) |
29 | | -- [x] **清单查询** |
| 29 | +- [x] **📂 清单管理 (/projects)** |
30 | 30 | - [x] `GET /projects/all` - 获取清单列表 |
31 | 31 |
|
32 | | -### 📊 统计分析 (/statistics) |
33 | | -- [x] **用户统计** |
| 32 | +- [x] **📊 统计分析 (/statistics)** |
34 | 33 | - [x] `GET /statistics/ranking` - 获取用户排名统计 |
35 | 34 | - [x] `GET /statistics/general` - 获取通用统计信息 |
36 | | -- [x] **任务统计** |
37 | 35 | - [x] `GET /statistics/tasks` - 获取任务统计信息 |
38 | 36 |
|
39 | | -### 🍅 专注记录 (/pomodoros) |
40 | | -- [x] **专注查询** |
| 37 | +- [x] **🍅 专注记录 (/pomodoros)** |
41 | 38 | - [x] `GET /pomodoros/general` - 获取番茄专注概览 |
42 | 39 | - [x] `GET /pomodoros/distribution` - 获取专注详情分布 |
43 | 40 | - [x] `GET /pomodoros/timeline` - 获取专注记录时间线 |
44 | 41 |
|
45 | | -### 🎯 习惯管理 (/habits) |
46 | | -- [x] **习惯查询** |
| 42 | +- [x] **🎯 习惯管理 (/habits)** |
47 | 43 | - [x] `GET /habits/all` - 获取所有习惯 |
48 | 44 | - [x] `GET /habits/statistics/week/current` - 获取本周习惯打卡统计 |
49 | 45 |
|
50 | | -### 👤 用户信息 (/user) |
51 | | -- [x] **用户资料** |
| 46 | +- [x] **👤 用户信息 (/user)** |
52 | 47 | - [x] `GET /user/info` - 获取用户信息 |
53 | 48 |
|
54 | | -### 📤 数据导出 (/custom/export) |
55 | | -- [x] **Excel导出** |
| 49 | +- [x] **📤 数据导出 (/custom/export)** |
56 | 50 | - [x] `GET /custom/export/tasks/excel` - 导出任务到Excel |
57 | 51 | - [x] `GET /custom/export/focus/excel` - 导出专注记录到Excel |
58 | 52 |
|
|
0 commit comments