## 项目异常人员信息列表
~~~[api]
post:/indexs.php/fangyi/Abnormal/getAbnormalList
*groupid#项目id
*openid#微信openid
<<<
success
{
"code": 0,
"msg": "成功",
"data": [
0 => [
'id' => 1,
'name' => 张三,
'mobile' => '18638661283',
'reason' => '37.8度'
],
0 => [
'id' => 2,
'name' => 李四,
'mobile' => '18638661283',
'reason' => '咳嗽发烧'
]
]
}
<<<
error
{
"code": -1,
"msg": "错误信息",
"data": []
}
~~~
----
## 添加项目异常人员信息
~~~[api]
post:/indexs.php/fangyi/Abnormal/AbnormalSubmit
*groupid#项目id
*openid#微信openid
*name#名称
*mobile#手机号
*roomid#房间id
*reason#原因
*remark#备注
<<<
success
{
"code": 0,
"msg": "成功",
"data": [
]
}
<<<
error
{
"code": -1,
"msg": "错误信息",
"data": []
}
~~~
----
## 异常人员信息详情
~~~[api]
post:/indexs.php/fangyi/Abnormal/AbnormalDetail
*id#异常人员id
*groupid#项目ID
*openid#微信openid
<<<
success
{
"code": 0,
"msg": "成功",
"data": [
'id' => 1,
'name' => 张三,
'mobile' => '18638661283',
'card_id' => '412781189009181365',
'isolation_time' => '2020-02-19',
'reason' => '37.8',
'remark' => '备注说明',
'status' => 0,
'room_name' => '隔离房间001',
'group_name' => '项目名称',
'returndate'=>'2020-01-19' #返程日期
]
}
<<<
error
{
"code": -1,
"msg": "错误信息",
"data": []
}
~~~
## 项目房间信息
~~~[api]
post:/indexs.php/fangyi/Abnormal/getRoomInfo
*groupid#项目ID
*openid#微信openid
<<<
success
{
"code": 0,
"msg": "成功",
"data": [
'roomid' => 1,
'room_name' => 101,
'status' => '0' # 0正常房间 1 隔离房间
]
}
<<<
error
{
"code": -1,
"msg": "错误信息",
"data": []
}
~~~
## 移除异常人员
~~~[api]
post:/indexs.php/fangyi/Abnormal/deleteAbnormal
*id#隔离人员id
*groupid#项目ID
*openid#微信openid
<<<
success
{
"code": 0,
"msg": "成功",
"data": [
]
}
<<<
error
{
"code": -1,
"msg": "错误信息",
"data": []
}
~~~
## 异常人员 更换房间 提交
~~~[api]
post:/indexs.php/fangyi/Abnormal/updateRoom
*id#隔离人员id
*roomid#房间id
*groupid#项目ID
*openid#微信openid
<<<
success
{
"code": 0,
"msg": "成功",
"data": [
]
}
<<<
error
{
"code": -1,
"msg": "错误信息",
"data": []
}
~~~