1
This commit is contained in:
77
Report/temp3.md
Normal file
77
Report/temp3.md
Normal file
@@ -0,0 +1,77 @@
|
||||
以下是所有API的URL:
|
||||
|
||||
### 基础URL
|
||||
`http://localhost:8080`
|
||||
|
||||
### 认证模块 (/api/auth)
|
||||
- `/api/auth/login`
|
||||
- `/api/auth/signup`
|
||||
- `/api/auth/logout`
|
||||
- `/api/auth/send-verification-code`
|
||||
- `/api/auth/send-password-reset-code`
|
||||
- `/api/auth/reset-password-with-code`
|
||||
|
||||
### 仪表盘模块 (/api/dashboard)
|
||||
- `/api/dashboard/stats`
|
||||
- `/api/dashboard/reports/aqi-distribution`
|
||||
- `/api/dashboard/reports/monthly-exceedance-trend`
|
||||
- `/api/dashboard/reports/grid-coverage`
|
||||
- `/api/dashboard/reports/pollution-stats`
|
||||
- `/api/dashboard/reports/task-completion-stats`
|
||||
- `/api/dashboard/reports/pollutant-monthly-trends`
|
||||
- `/api/dashboard/map/heatmap`
|
||||
- `/api/dashboard/map/aqi-heatmap`
|
||||
- `/api/dashboard/thresholds`
|
||||
- `/api/dashboard/thresholds/{pollutantName}`
|
||||
|
||||
### 反馈模块 (/api/feedback)
|
||||
- `/api/feedback/submit`
|
||||
- `/api/feedback`
|
||||
- `/api/feedback/{id}`
|
||||
- `/api/feedback/stats`
|
||||
- `/api/feedback/{id}/process`
|
||||
|
||||
### 公共接口模块 (/api/public)
|
||||
- `/api/public/feedback`
|
||||
|
||||
### 文件模块 (/api)
|
||||
- `/api/files/{filename}`
|
||||
- `/api/view/{filename}`
|
||||
|
||||
### 网格管理模块 (/api/grids)
|
||||
- `/api/grids`
|
||||
- `/api/grids/{id}`
|
||||
- `/api/grids/coverage`
|
||||
- `/api/grids/{gridId}/assign`
|
||||
- `/api/grids/{gridId}/unassign`
|
||||
- `/api/grids/coordinates/{gridX}/{gridY}/assign`
|
||||
- `/api/grids/coordinates/{gridX}/{gridY}/unassign`
|
||||
|
||||
### 人员管理模块 (/api/personnel)
|
||||
- `/api/personnel/users`
|
||||
- `/api/personnel/users/{userId}`
|
||||
- `/api/personnel/users/{userId}/role`
|
||||
|
||||
### 网格员任务模块 (/api/worker)
|
||||
- `/api/worker`
|
||||
- `/api/worker/{taskId}`
|
||||
- `/api/worker/{taskId}/accept`
|
||||
- `/api/worker/{taskId}/submit`
|
||||
|
||||
### 地图与寻路模块
|
||||
- `/api/map/grid`
|
||||
- `/api/map/initialize`
|
||||
- `/api/pathfinding/find`
|
||||
|
||||
### 个人资料模块 (/api/me)
|
||||
- `/api/me/feedback`
|
||||
|
||||
### 主管审核模块 (/api/supervisor)
|
||||
- `/api/supervisor/reviews`
|
||||
- `/api/supervisor/reviews/{feedbackId}/approve`
|
||||
- `/api/supervisor/reviews/{feedbackId}/reject`
|
||||
|
||||
### 任务分配模块 (/api/tasks)
|
||||
- `/api/tasks/unassigned`
|
||||
- `/api/tasks/grid-workers`
|
||||
- `/api/tasks/assign`
|
||||
Reference in New Issue
Block a user