From 6c4bd2467bb6651c6edcf8a9741dcd4e9b1aa6d3 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 30 Jan 2026 14:42:36 +0800
Subject: [PATCH] feat:权限按钮
---
applications/drone-command/src/views/api.txt | 82 +++++++++++++++++++++++++++++-----------
1 files changed, 59 insertions(+), 23 deletions(-)
diff --git a/applications/drone-command/src/views/api.txt b/applications/drone-command/src/views/api.txt
index 350f827..4563847 100644
--- a/applications/drone-command/src/views/api.txt
+++ b/applications/drone-command/src/views/api.txt
@@ -1,33 +1,22 @@
-## 信号干扰,诱导驱离
+## 列表-不带分页
-**接口地址**:`/drone-fw/cockpit/dataCockpit/interferenceAndExpulsion`
+**接口地址**:`/drone-fw/area/fwAreaDivide/list`
-**请求方式**:`POST`
+**请求方式**:`GET`
-**请求数据类型**:`application/json`
+**请求数据类型**:`application/x-www-form-urlencoded`
**响应数据类型**:`*/*`
-**接口描述**:<p>传入fwEffectEval</p>
+**接口描述**:<p>传入filterSelected或sceneId或areaTypeKeys</p>
-
-
-**请求示例**:
-
-
-```javascript
-{
- "alarmRecordId": 0,
- "counterWay": ""
-}
-```
**请求参数**:
@@ -38,9 +27,9 @@
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|fwEffectEvalParam|fwEffectEvalParam|body|true|FwEffectEvalParam|FwEffectEvalParam|
-|  alarmRecordId|告警记录ID(ja_fw_drone_alarm_record.id)||false|integer(int64)||
-|  counterWay|反制方式:1.信号干扰/2.诱导驱离/无||false|string||
+|areaTypeKeys|区域类型key集合(逗号分隔)|query|false|string||
+|filterSelected|是否过滤已被选择的数据(1过滤 0不过滤)|query|false|integer(int32)||
+|sceneId|场景id|query|false|integer(int64)||
**响应状态**:
@@ -48,8 +37,7 @@
| 状态码 | 说明 | schema |
| -------- | -------- | ----- |
-|200|OK|R|
-|201|Created||
+|200|OK|R«List«FwAreaDivideVO»»|
|401|Unauthorized||
|403|Forbidden||
|404|Not Found||
@@ -61,7 +49,28 @@
| 参数名称 | 参数说明 | 类型 | schema |
| -------- | -------- | ----- |----- |
|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|object||
+|data|承载数据|array|FwAreaDivideVO|
+|  areaCode|区域编码|string||
+|  areaName|区域名称|string||
+|  areaTypeKeys|区域面的类型集合逗号隔开|string||
+|  controlLevel|管控级别:日常/重点/严密|string||
+|  deviceIds|关联设备ID,逗号分隔|string||
+|  flyDateEnd|可飞行日期时间-结束|string(date-time)||
+|  flyDateStart|可飞行日期时间-开始|string(date-time)||
+|  fwAreaDivideExtList|面数据|array|FwAreaDivideExtVO|
+|    areaCode|区域编码|string||
+|    areaDivideId|关联主表区域划分ID|integer||
+|    areaTypeKey|区域类型数字字典key|string||
+|    areaTypeValue|区域类型数字字典value|string||
+|    geomJson|几何JSON|string||
+|    id|主键id|integer||
+|  id|主键id|integer(int64)||
+|  policeStationContactPerson|派出所联系人|string||
+|  policeStationContactPhone|派出所联系电话|string||
+|  policeStationId|关联派出所id|string||
+|  policeStationName|派出所名称|string||
+|  responseMechanism|响应机制内容|string||
+|  triggerCondition|触发条件|string||
|msg|返回消息|string||
|success|是否成功|boolean||
@@ -70,7 +79,34 @@
```javascript
{
"code": 0,
- "data": {},
+ "data": [
+ {
+ "areaCode": "",
+ "areaName": "",
+ "areaTypeKeys": "",
+ "controlLevel": "",
+ "deviceIds": "",
+ "flyDateEnd": "",
+ "flyDateStart": "",
+ "fwAreaDivideExtList": [
+ {
+ "areaCode": "",
+ "areaDivideId": 0,
+ "areaTypeKey": "",
+ "areaTypeValue": "",
+ "geomJson": "",
+ "id": 0
+ }
+ ],
+ "id": 0,
+ "policeStationContactPerson": "",
+ "policeStationContactPhone": "",
+ "policeStationId": "",
+ "policeStationName": "",
+ "responseMechanism": "",
+ "triggerCondition": ""
+ }
+ ],
"msg": "",
"success": true
}
--
Gitblit v1.9.3