{
//"name": "销售部",
"company_id":1,
"limit": 1,
"page": 2,
}curl --location -g --request POST 'https://erp.e88.meiyouwx.com/open/api/v2?service=company.department.query.list&access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
//"name": "销售部",
"company_id":1,
"limit": 1,
"page": 2,
}'{
"status": "success",
"msg": "调用成功",
"data": {
"count": 6,
"list": [
{
"id": 31,
"erp_id": 4,
"company_id": 1,
"name": "国内部",
"status": 1,
"number": "",
"level": 1,
"parent_id": 0,
"explain": ""
},
{
"id": 32,
"erp_id": 4,
"company_id": 1,
"name": "计调一部",
"status": 1,
"number": "",
"level": 2,
"parent_id": 31,
"explain": ""
},
{
"id": 33,
"erp_id": 4,
"company_id": 1,
"name": "周边短线",
"status": 1,
"number": "",
"level": 3,
"parent_id": 32,
"explain": ""
},
{
"id": 248,
"erp_id": 4,
"company_id": 1,
"name": "销售部",
"status": 1,
"number": "",
"level": 2,
"parent_id": 31,
"explain": ""
},
{
"id": 284,
"erp_id": 4,
"company_id": 1,
"name": "出境部",
"status": 1,
"number": "",
"level": 1,
"parent_id": 0,
"explain": ""
},
{
"id": 285,
"erp_id": 4,
"company_id": 1,
"name": "门店管理部门",
"status": 1,
"number": "",
"level": 1,
"parent_id": 0,
"explain": ""
}
]
}
}