部门数据导入的权限验证放在根据组织部门创建校验中
Authorization: Bearer ********************{
"staffs": [
{
"realName": "张三",
"jobTitle": "",
"department": "",
"staffNo": "",
"mobile": "13843838438",
"account": "zhangsan",
"email": "",
"remark": "",
"orgName": "",
"lineNum": 1,
"password": "qwer1234"
}
]
}curl --location --request POST '/eims/api/v2/admin/staffs/actions/batch' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"staffs": [
{
"realName": "张三",
"jobTitle": "",
"department": "",
"staffNo": "",
"mobile": "13843838438",
"account": "zhangsan",
"email": "",
"remark": "",
"orgName": "",
"lineNum": 1,
"password": "qwer1234"
}
]
}'{
"id": 0
}