This commit is contained in:
2026-07-05 14:43:34 +08:00
commit 17a8027b20
277 changed files with 63794 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# Department · 科室
## 接口表
| Method | Path | 鉴权 | 说明 |
|---|---|---|---|
| GET | `/api/v1/departments` | - | 科室列表 |
## GET /api/v1/departments
**Query 参数**
- `hospitalId` (string, 可选) - 按医院过滤
- `enabled` ('true' | 'false', 可选) - 按启用状态过滤
**响应示例**
```json
{
"code": 0,
"message": "ok",
"data": [
{
"id": "d-001",
"name": "肛肠中心",
"icon": "🩺",
"description": "肛肠疾病专科",
"doctorCount": 5,
"sort": 1,
"enabled": true,
"createdAt": "...",
"updatedAt": "..."
}
]
}
```