curl --location --request GET 'https://ws.25soft.com/api-web-v1/departs' \
--header 'Authorization: Bearer {{token}}'
{
"code": 0,
"data": {
"total": 2,
"rows": [
{
"fathers": [],
"_id": "6417d1203438d8250434c92e",
"name": "摄像头",
"sort": 6,
"status": true,
"creator": "5da994550dc418001b95d36f",
"createdAt": "2023-03-20T03:21:04.199Z",
"updatedAt": "2023-03-20T03:21:04.199Z",
"__v": 0
},
{
"fathers": [],
"_id": "6417d1533438d8ca6c34c95e",
"name": "摄像头",
"sort": 1,
"status": true,
"creator": "5da994550dc418001b95d36f",
"createdAt": "2023-03-20T03:21:55.741Z",
"updatedAt": "2023-03-20T03:21:55.741Z",
"__v": 0
}
]
}
}