Authorization: Bearer ********************
curl --location --request GET 'finance-gateway.hdltest.com/acct-payable/system/role/editDeptTree?roleId=&searchKeyword=' \
--header 'user_id: {{user_id}}' \
--header 'username: {{username}}' \
--header 'user_key: {{user_key}}'
{
"msg": "操作成功",
"code": 200,
"paymentTypes": [
{
"id": "1001",
"label": "总部基建",
"children": [
{
"id": "2001",
"label": "亲子补贴",
"children": [
{
"id": "3001",
"label": "代付"
}
]
}
]
}
],
"checkedKeys": [
"1001",
"2001"
]
}