Authorization: Bearer ********************
{
"parentId": "1",
"deptName": "测试门店",
"orderNum": 1,
"leader": "1",
"phone": "",
"email": "",
"status": "0",
"deptCode":"1234",
"deptAlias":"测试门店别名"
}
curl --location --request POST 'finance-gateway.hdltest.com/acct-payable/system/dept' \
--header 'user_id: {{user_id}}' \
--header 'username: {{username}}' \
--header 'user_key: {{user_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"parentId": "1",
"deptName": "测试门店",
"orderNum": 1,
"leader": "1",
"phone": "",
"email": "",
"status": "0",
"deptCode":"1234",
"deptAlias":"测试门店别名"
}'
{
"msg": "操作成功",
"code": 200
}