Authorization: Bearer ********************{
"account": "test2",
"email": "",
"jobTitle": "测试工程师",
"realName": "{% mock 'cname' %}",
"staffNo": "{% mock 'integer' %}",
"remark": "{% mock 'csentence', 10, 50 %}",
"mobile": "{% mock 'phone' %}",
"userId": "{% mock 'uuid' %}",
"password": "4d4f26369171994f3a46776ee2d88494fb9955800a5bb6261c016c4bb9f30b56"
}curl --location --request POST '/eims/api/v2/admin/staffs' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"account": "test2",
"email": "",
"jobTitle": "测试工程师",
"realName": "{% mock '\''cname'\'' %}",
"staffNo": "{% mock '\''integer'\'' %}",
"remark": "{% mock '\''csentence'\'', 10, 50 %}",
"mobile": "{% mock '\''phone'\'' %}",
"userId": "{% mock '\''uuid'\'' %}",
"password": "4d4f26369171994f3a46776ee2d88494fb9955800a5bb6261c016c4bb9f30b56"
}'{
"staffId": {
"mostSigBits": 0,
"leastSigBits": 0
},
"department": "",
"userId": {
"mostSigBits": 0,
"leastSigBits": 0
},
"mobile": "",
"mobileAreaCode": "",
"email": "",
"jobTitle": "",
"realName": "",
"state": 0,
"staffNo": "",
"departmentId": {
"mostSigBits": 0,
"leastSigBits": 0
},
"activationState": 0,
"orgName": "",
"companyId": {
"mostSigBits": 0,
"leastSigBits": 0
},
"verified": false,
"companyName": "",
"shortName": "",
"companyCode": "",
"logo": "",
"type": 0,
"permissions": {
"areaIds": [
""
],
"departmentIds": [
""
],
"deviceAreaIds": [
""
],
"resourcePermission": [
""
]
},
"remark": "",
"avatar": "",
"displayName": "",
"openId": "",
"count": 0,
"country": "",
"province": "",
"city": "",
"district": "",
"address": "",
"adminName": "",
"adminMobile": ""
}