文档
测试

获取拥有某个权限的人

GET
{{url}}/api/rule/role_user?rule=13002

请求头

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

请求参数

参数名
类型
描述
必填
rule
int
示例:13002
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1695279324
必填
data
array
数据列表
必填
id
int
示例:1
必填
h_id
int
示例:1
必填
name
string
示例:1号员工
必填
mobile
string
示例:13383847890
必填
code
string
示例:1001
必填
sex
int
示例:1
必填
image
string
示例:/uploads/20230831/1fe4d3a03746b36cb62400df815836a7.png
必填
type
int
示例:1
必填
group_id
int
示例:1
必填
job_id
int
示例:1
必填
rule
string
示例:1,2,3,4,5001,5002,6,7,8001,8002,9,10,11001,11002,12,13001,13002,13003,14,15,16,17001,17002,18,19,20,21001,21002,22,5,8,11,13,17,21
必填
status
int
示例:1
必填
createtime
int
示例:1694510432
必填
updatetime
int
示例:1694676728
必填
deletetime
object
示例:null
必填
job
object
数据字典
必填
id
int
示例:1
必填
h_id
int
示例:0
必填
type
int
示例:1
必填
name
string
示例:主管院领导
必填
level
int
示例:1
必填
is_fixed
int
示例:1
必填
is_default
int
示例:1
必填
status
int
示例:1
必填
createtime
int
示例:1692682347
必填
updatetime
int
示例:1694676278
必填
deletetime
object
示例:null
必填
status_text
string
示例:Status 1
必填
group
object
数据字典
必填
id
int
示例:1
必填
h_id
int
示例:0
必填
type
int
示例:1
必填
name
string
示例:后勤管理科
必填
is_fixed
int
示例:1
必填
status
int
示例:1
必填
weight
int
示例:0
必填
createtime
int
示例:1692682251
必填
updatetime
int
示例:1692690848
必填
deletetime
object
示例:null
必填
type_text
string
示例:Type 1
必填
status_text
string
示例:Status 1
必填
sex_text
string
示例:Sex 1
必填
status_text
string
示例:Status 1
必填