按角色查询账号
最后更新于 2023/09/07 阅读数 96
按角色查询账号
按角色查询账号
Get HR Account by role
Method:GET
Path:/account/roletype
Headers
Key | Required | Type | Description |
---|---|---|---|
token | Yes | string | 令牌 |
Body Parameters
Key | Required | Type | Description |
---|---|---|---|
role_type | Yes | string | 多个角色用,分隔。角色类型 1:超级管理员 2:管理员 3:HR 4:高级用人经理 5:用人经理 6:面试官 |
Response data
Key | Describe |
---|---|
code | 响应编码,0代表成功 |
message | 响应信息 |
data | 响应数据 |
Response
{
"code": 0,
"message": "",
"data": {
"3": [{
"user_name": "HR",
"mobile": "15000000001",
"email": "15000000001@moseeker.com",
"deparment_name": "组织名称3",
"managed_department_name": "组织名称3",
"job_number": "123459"
}],
"4": [{
"user_name": "高级用人经理1",
"mobile": "15000000003",
"email": "15000000003@moseeker.com",
"deparment_name": "组织名称1",
"managed_department_name": "组织名称1",
"job_number": "123456"
}, {
"user_name": "高级用人经理2",
"mobile": "15000000000",
"email": "15000000000@moseeker.com",
"deparment_name": "组织名称2",
"managed_department_name": "组织名称2",
"job_number": "123457"
}]
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
plaintext2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
评价这篇文档
有帮助
没帮助