吉安感知网项目-前端
shuishen
2026-02-03 89380e6260a75d1d3b94de687ebcc2f50d50659d
applications/drone-command/src/views/api.txt
@@ -1,48 +1,22 @@
## 信号干扰,诱导驱离
## 列表
**接口地址**:`/cockpit/dataCockpit/interferenceAndExpulsion`
**接口地址**:`/area/fwPoliceStation/list`
**请求方式**:`POST`
**请求方式**:`GET`
**请求数据类型**:`application/json`
**请求数据类型**:`application/x-www-form-urlencoded`
**响应数据类型**:`*/*`
**接口描述**:<p>传入fwEffectEval</p>
**接口描述**:<p>获取全部派出所</p>
**请求示例**:
```javascript
{
  "alarmRecordId": 0,
  "areaCode": "",
  "counterEffect": "",
  "coverRadiusM": 0,
  "deployLatitude": 0,
  "deployLongitude": 0,
  "deviceCode": "",
  "deviceId": 0,
  "deviceModel": "",
  "deviceName": "",
  "deviceType": "",
  "droneDeviceCode": "",
  "droneName": "",
  "droneType": "",
  "findTime": "",
  "id": 0,
  "workMode": ""
}
```
**请求参数**:
@@ -51,26 +25,7 @@
**请求参数**:
| 参数名称 | 参数说明 | 请求类型    | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
|fwEffectEval|fwEffectEval|body|true|FwEffectEvalDTO|FwEffectEvalDTO|
|&emsp;&emsp;alarmRecordId|告警记录ID(ja_fw_drone_alarm_record.id)||false|integer(int64)||
|&emsp;&emsp;areaCode|区域编码||false|string||
|&emsp;&emsp;counterEffect|反制效果(success/fail)||false|string||
|&emsp;&emsp;coverRadiusM|覆盖范围(米)||false|integer(int32)||
|&emsp;&emsp;deployLatitude|部署纬度(冗余)||false|number(double)||
|&emsp;&emsp;deployLongitude|部署经度(冗余)||false|number(double)||
|&emsp;&emsp;deviceCode|反制设备编码(快照)||false|string||
|&emsp;&emsp;deviceId|反制设备ID(ja_fw_device.id)||false|integer(int64)||
|&emsp;&emsp;deviceModel|反制设备型号(快照)||false|string||
|&emsp;&emsp;deviceName|反制设备名称(快照)||false|string||
|&emsp;&emsp;deviceType|反制设备类型(快照)||false|string||
|&emsp;&emsp;droneDeviceCode|无人机设备编码||false|string||
|&emsp;&emsp;droneName|无人机名称||false|string||
|&emsp;&emsp;droneType|无人机类型||false|string||
|&emsp;&emsp;findTime|发现时间||false|string(date-time)||
|&emsp;&emsp;id|主键id||false|integer(int64)||
|&emsp;&emsp;workMode|工作模式(机动/固定)||false|string||
暂无
**响应状态**:
@@ -78,8 +33,7 @@
| 状态码 | 说明 | schema |
| -------- | -------- | ----- | 
|200|OK|R|
|201|Created||
|200|OK|R«List«FwPoliceStationVO»»|
|401|Unauthorized||
|403|Forbidden||
|404|Not Found||
@@ -91,7 +45,21 @@
| 参数名称 | 参数说明 | 类型 | schema |
| -------- | -------- | ----- |----- | 
|code|状态码|integer(int32)|integer(int32)|
|data|承载数据|object||
|data|承载数据|array|FwPoliceStationVO|
|&emsp;&emsp;address|派出所地址|string||
|&emsp;&emsp;areaCode|区域编码|string||
|&emsp;&emsp;contactPerson|联系人|string||
|&emsp;&emsp;contactPhone|联系方式|string||
|&emsp;&emsp;createDept|创建部门|integer(int64)||
|&emsp;&emsp;createTime|创建时间|string(date-time)||
|&emsp;&emsp;createUser|创建人|integer(int64)||
|&emsp;&emsp;id|主键id|integer(int64)||
|&emsp;&emsp;latitude|纬度|number(double)||
|&emsp;&emsp;longitude|经度|number(double)||
|&emsp;&emsp;stationName|派出所名称|string||
|&emsp;&emsp;status|状态(0正常 1停用)|integer(int32)||
|&emsp;&emsp;updateTime|更新时间|string(date-time)||
|&emsp;&emsp;updateUser|更新人|integer(int64)||
|msg|返回消息|string||
|success|是否成功|boolean||
@@ -100,7 +68,24 @@
```javascript
{
   "code": 0,
   "data": {},
   "data": [
      {
         "address": "",
         "areaCode": "",
         "contactPerson": "",
         "contactPhone": "",
         "createDept": 0,
         "createTime": "",
         "createUser": 0,
         "id": 0,
         "latitude": 0,
         "longitude": 0,
         "stationName": "",
         "status": 0,
         "updateTime": "",
         "updateUser": 0
      }
   ],
   "msg": "",
   "success": true
}