curl --location --request GET 'https://consult-api.itheima.net/dep/all'
{
"success": true,
"code": 0,
"message": "string",
"data": [
{
"id": "string",
"name": "常见科室",
"child": [
{
"id": "string",
"name": "普通内科"
}
]
}
]
}