Authorization: Bearer ********************
curl --location --request GET 'finance-gateway.hdltest.com/acct-payable/system/role/deptTree?searchKeyword=&roleId=' \
--header 'user_id: {{user_id}}' \
--header 'username: {{username}}' \
--header 'user_key: {{user_key}}'
{
"msg": "操作成功",
"code": 200,
"depts": [
{
"id": "1",
"label": "北京十三店",
"children": [
{
"id": "2",
"label": "北京一店",
"children": []
}
]
}
],
"checkedKeys": [
"1",
"2"
]
}