| | |
| | | ## 列表 |
| | | |
| | | |
| | | **接口地址**:`/area/fwPoliceStation/list` |
| | | **接口地址**:`/device/fwDevice/list` |
| | | |
| | | |
| | | **请求方式**:`GET` |
| | |
| | | **响应数据类型**:`*/*` |
| | | |
| | | |
| | | **接口描述**:<p>获取全部派出所</p> |
| | | **接口描述**:<p>传入isAreaSelect、areaId、areaIds(多个用,隔开获取对应区域绑定设备数据)、status</p> |
| | | |
| | | |
| | | |
| | |
| | | **请求参数**: |
| | | |
| | | |
| | | 暂无 |
| | | | 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | |
| | | | -------- | -------- | ----- | -------- | -------- | ------ | |
| | | |areaId|areaId|query|false|integer(int64)|| |
| | | |areaIds|areaIds(多个用,隔开)|query|false|string|| |
| | | |isAreaSelect|isAreaSelect|query|false|integer(int32)|| |
| | | |isTrack|isTrack|query|false|integer(int32)|| |
| | | |status|status|query|false|integer(int32)|| |
| | | |
| | | |
| | | **响应状态**: |
| | |
| | | |
| | | | 状态码 | 说明 | schema | |
| | | | -------- | -------- | ----- | |
| | | |200|OK|R«List«FwPoliceStationVO»»| |
| | | |200|OK|R«List«FwDeviceVO»»| |
| | | |401|Unauthorized|| |
| | | |403|Forbidden|| |
| | | |404|Not Found|| |
| | |
| | | | 参数名称 | 参数说明 | 类型 | schema | |
| | | | -------- | -------- | ----- |----- | |
| | | |code|状态码|integer(int32)|integer(int32)| |
| | | |data|承载数据|array|FwPoliceStationVO| |
| | | |  address|派出所地址|string|| |
| | | |  areaCode|区域编码|string|| |
| | | |  contactPerson|联系人|string|| |
| | | |  contactPhone|联系方式|string|| |
| | | |data|承载数据|array|FwDeviceVO| |
| | | |  azimuth|方位角 0-360°|integer(int32)|| |
| | | |  batteryPct|电量百分比 0-100|integer(int32)|| |
| | | |  belongDept|所属部门id|integer(int64)|| |
| | | |  belongDeptName|所属部门名称|string|| |
| | | |  charger|负责人|string|| |
| | | |  contactPhone|联系电话|string|| |
| | | |  createDept|创建部门|integer(int64)|| |
| | | |  createTime|创建时间|string(date-time)|| |
| | | |  createUser|创建人|integer(int64)|| |
| | | |  id|主键id|integer(int64)|| |
| | | |  latitude|纬度|number(double)|| |
| | | |  longitude|经度|number(double)|| |
| | | |  stationName|派出所名称|string|| |
| | | |  status|状态(0正常 1停用)|integer(int32)|| |
| | | |  detectTargetCnt|侦测目标数量|integer(int32)|| |
| | | |  deviceAtt|设备属性(无线电/光电/雷达)|string|| |
| | | |  deviceModel|型号|string|| |
| | | |  deviceName|设备名称|string|| |
| | | |  deviceSn|设备sn|string|| |
| | | |  deviceSpecification|规格|string|| |
| | | |  deviceType|设备类型(察打一体/便捷侦测箱/反制枪)|string|| |
| | | |  effectiveRangeKm|有效范围 km|number|| |
| | | |  elevation|俯仰角 -90-+90°|integer(int32)|| |
| | | |  id|主键|integer(int64)|| |
| | | |  isShared|是否被共享给当前机构|boolean|| |
| | | |  latitude|纬度|string|| |
| | | |  longitude|经度|string|| |
| | | |  manufacturer|生产厂商|string|| |
| | | |  outTarget|出库去向|string|| |
| | | |  purpose|用途|string|| |
| | | |  remark|备注|string|| |
| | | |  sceneName|场景名称|string|| |
| | | |  shareId|共享记录ID|integer(int64)|| |
| | | |  source|来源|string|| |
| | | |  status|运行状态(0:在线/1:离线/2:故障/3:报废)|integer(int32)|| |
| | | |  trackStatus|设备出入库状态 0未出库1已出库|integer(int32)|| |
| | | |  updateTime|更新时间|string(date-time)|| |
| | | |  updateUser|更新人|integer(int64)|| |
| | | |  workMode|工作模式:1.侦测中/2.信号干扰中/3.诱导驱离中/4.待机|string|| |
| | | |msg|返回消息|string|| |
| | | |success|是否成功|boolean|| |
| | | |
| | |
| | | "code": 0, |
| | | "data": [ |
| | | { |
| | | "address": "", |
| | | "areaCode": "", |
| | | "contactPerson": "", |
| | | "azimuth": 0, |
| | | "batteryPct": 0, |
| | | "belongDept": 0, |
| | | "belongDeptName": "", |
| | | "charger": "", |
| | | "contactPhone": "", |
| | | "createDept": 0, |
| | | "createTime": "", |
| | | "createUser": 0, |
| | | "detectTargetCnt": 0, |
| | | "deviceAtt": "", |
| | | "deviceModel": "", |
| | | "deviceName": "", |
| | | "deviceSn": "", |
| | | "deviceSpecification": "", |
| | | "deviceType": "", |
| | | "effectiveRangeKm": 0, |
| | | "elevation": 0, |
| | | "id": 0, |
| | | "latitude": 0, |
| | | "longitude": 0, |
| | | "stationName": "", |
| | | "isShared": true, |
| | | "latitude": "", |
| | | "longitude": "", |
| | | "manufacturer": "", |
| | | "outTarget": "", |
| | | "purpose": "", |
| | | "remark": "", |
| | | "sceneName": "", |
| | | "shareId": 0, |
| | | "source": "", |
| | | "status": 0, |
| | | "trackStatus": 0, |
| | | "updateTime": "", |
| | | "updateUser": 0 |
| | | "updateUser": 0, |
| | | "workMode": "" |
| | | } |
| | | ], |
| | | "msg": "", |
| | | "success": true |
| | | } |
| | | ``` |
| | | ``` |