文档
测试

获取楼栋

GET
{{url}}/api/grid/house?area_id=1

请求头

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

请求参数

参数名
类型
描述
必填
area_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1694601802
必填
data
object
数据字典
必填
total
int
示例:3
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:5
必填
h_id
int
示例:1
必填
area_id
int
示例:1
必填
name
string
示例:3号楼
必填
note
string
示例:
必填
status
int
示例:1
必填
sort
int
示例:0
必填
createtime
int
示例:1692952279
必填
updatetime
int
示例:1692952279
必填
deletetime
object
示例:null
必填
users
array
数据列表
必填
id
int
示例:4
必填
h_id
int
示例:1
必填
user_id
int
示例:1
必填
label
string
示例:医务处
必填
duty
string
示例:
必填
type
int
示例:2
必填
form_id
int
示例:5
必填
updatetime
int
示例:1694583377
必填
createtime
int
示例:1694583377
必填
user
object
数据字典
必填
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
示例:12
必填
job_id
int
示例:54
必填
rule
string
示例:17001,17002,18,19,20,21001,17,21
必填
status
int
示例:1
必填
createtime
int
示例:1694510432
必填
updatetime
int
示例:1694573963
必填
deletetime
object
示例:null
必填
sex_text
string
示例:Sex 1
必填
status_text
string
示例:Status 1
必填
type_text
string
示例:Type 2
必填
status_text
string
示例:Status 1
必填