文档
测试

获取科室

GET
{{url}}/api/work/group_list?type=1

请求头

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

请求参数

参数名
类型
描述
必填
type
int
示例:1=内部科室 2=外包公司
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
time
string
示例:1694412034
必填
data
array
数据列表
必填
id
int
示例:4
必填
h_id
int
示例:1
必填
type
int
示例:1
必填
name
string
示例:外科
必填
is_fixed
int
示例:0
必填
status
int
示例:1
必填
weight
int
示例:0
必填
createtime
int
示例:1692690861
必填
updatetime
int
示例:1692690867
必填
deletetime
object
示例:null
必填
type_text
string
示例:Type 1
必填
status_text
string
示例:Status 1
必填