文档
测试

更新实验室

POST
/api/lab/update

接口描述

更新实验室

请求参数

参数名
类型
描述
必填
labId
string
要更新的实验室Id 示例:1419995120804118530
必填
labName
string
实验室名称 示例:实验室0
必填
enterDoorName
string
入口门禁点名称 示例:door0
必填
enterDoorIndexcode
string
入口门禁点唯一标识 示例:zzzzzz
必填
outDoorName
string
出门门禁点名称 示例:door1
必填
outDoorIndexcode
string
出门门禁点唯一标识 示例:aaaaa
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:200
必填

Json实例

## 请求参数 ```json { "labId": "1419995120804118530", "labName": "实验室30", "enterDoorName": "door10", "enterDoorIndexcode": "zzzzzz", "outDoorName": "door10", "outDoorIndexcode": "aaaaa" } ``` ## 返回参数 ```json { "msg": "success", "code": 200 } ```