Authorization: Bearer ********************
curl --location --request GET 'http://ip:port/openApi/api/v1/open/department/tree'
{
"code": "string",
"data": [
{
"children": [
{}
],
"createBy": "string",
"createTime": "2019-08-24T14:15:22Z",
"departmentCode": "string",
"departmentId": 0,
"departmentName": "string",
"label": "string",
"nickName": "string",
"pcode": "string",
"pid": 0,
"responsibleName": "string",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22Z",
"value": 0
}
],
"message": "string",
"time": "2019-08-24T14:15:22Z"
}