文档
测试

获取岗位下的人员

GET
{{url}}/api/work/job_user?is_manager=1&job_id=0

请求头

参数名
类型
描述
必填
token
string
示例:1bd1adba-fd0a-4780-9df0-2ccf0b7358d4
必填

请求参数

参数名
类型
描述
必填
is_manager
int
示例:1
必填
job_id
int
示例:0
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
time
string
示例:1694659195
必填
data
array
数据列表
必填
id
int
示例:3
必填
h_id
int
示例:1
必填
name
string
示例:3号员工
必填
mobile
string
示例:13383847892
必填
code
string
示例:1003
必填
sex
int
示例:1
必填
image
string
示例:/uploads/20230831/7d86e44c8be6c07d257b85f5e823e7c4.png
必填
type
int
示例:2
必填
group_id
int
示例:3
必填
job_id
int
示例:13
必填
rule
string
示例:1,2,3,4,5001,5002,6,7,9,10,11001,11002,12,13001,13002,13003,14,15,16,17001,17002,18,19,20,21001,21002,5,11,13,17,21
必填
status
int
示例:1
必填
createtime
int
示例:1694573997
必填
updatetime
int
示例:1694585495
必填
deletetime
object
示例:null
必填
group
object
数据字典
必填
id
int
示例:3
必填
h_id
int
示例:0
必填
type
int
示例:2
必填
name
string
示例:某某外包公司
必填
is_fixed
int
示例:0
必填
status
int
示例:1
必填
weight
int
示例:0
必填
createtime
int
示例:1692682521
必填
updatetime
int
示例:1692682521
必填
deletetime
object
示例:null
必填
type_text
string
示例:Type 2
必填
status_text
string
示例:Status 1
必填
job
object
数据字典
必填
id
int
示例:13
必填
h_id
int
示例:0
必填
type
int
示例:2
必填
name
string
示例:项目经理
必填
level
int
示例:1
必填
is_fixed
int
示例:0
必填
is_default
int
示例:1
必填
status
int
示例:1
必填
createtime
int
示例:1692682541
必填
updatetime
int
示例:1694657347
必填
deletetime
object
示例:null
必填
status_text
string
示例:Status 1
必填
sex_text
string
示例:Sex 1
必填
status_text
string
示例:Status 1
必填