Files
Environment-Monitoring-System/Report/temp3.md
ChuXun 02a830145e 1
2025-10-25 19:18:43 +08:00

77 lines
2.0 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.
以下是所有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`