curl --location --request GET 'http://10.8.0.4/prod-api/system/dept/list/exclude/' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiJzeXNfdXNlcjoxIiwicm5TdHIiOiJtb0lBRmwwa0xpbENCODFuUUNINDV2YWxQVmFPMXZ4bSIsInVzZXJJZCI6MX0.XdB8Kviyezfrztm49AtYTTeWxAFKyCNCYPR9yWoT_IQ' \
--header 'clientid;'
{
"code": 0,
"msg": "string",
"data": [
{
"createBy": "string",
"createTime": "2019-08-24T14:15:22Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22Z",
"params": {
"property1": {},
"property2": {}
},
"parentName": "string",
"parentId": 0,
"children": [
{}
],
"deptId": 0,
"deptName": "string",
"orderNum": 0,
"leader": "string",
"phone": "string",
"email": "string",
"status": "string",
"delFlag": "string",
"ancestors": "string"
}
]
}