From dd57e0e9a989e7ee8b3e3473a7ee6a1dff06a4ae Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 27 Jan 2026 17:19:04 +0800
Subject: [PATCH] feat:调整加载

---
 applications/drone-command/src/views/api.txt |  150 +++++++++++++++++++++++++++++---------------------
 1 files changed, 87 insertions(+), 63 deletions(-)

diff --git a/applications/drone-command/src/views/api.txt b/applications/drone-command/src/views/api.txt
index b82372a..22ac09a 100644
--- a/applications/drone-command/src/views/api.txt
+++ b/applications/drone-command/src/views/api.txt
@@ -1,22 +1,32 @@
 
 
-## 列表
+## 重点关注
 
 
-**接口地址**:`/drone-fw/area/fwAreaDivide/list`
+**接口地址**:`/drone-fw/record/fwAlarmFavorite/save`
 
 
-**请求方式**:`GET`
+**请求方式**:`POST`
 
 
-**请求数据类型**:`application/x-www-form-urlencoded`
+**请求数据类型**:`application/json`
 
 
 **响应数据类型**:`*/*`
 
 
-**接口描述**:<p>传入filterSelected或sceneId</p>
+**接口描述**:<p>传入fwAlarmFavorite</p>
 
+
+
+**请求示例**:
+
+
+```javascript
+{
+  "alarmRecordId": 0
+}
+```
 
 
 **请求参数**:
@@ -27,8 +37,8 @@
 
 | 参数名称 | 参数说明 | 请求类型    | 是否必须 | 数据类型 | schema |
 | -------- | -------- | ----- | -------- | -------- | ------ |
-|filterSelected|是否过滤已被选择的数据(1过滤 0不过滤)|query|false|integer(int32)||
-|sceneId|场景id|query|false|integer(int64)||
+|fwAlarmFavorite|告警记录关注表|body|true|FwAlarmFavorite对象|FwAlarmFavorite对象|
+|&emsp;&emsp;alarmRecordId|告警记录id||false|integer(int64)||
 
 
 **响应状态**:
@@ -36,7 +46,8 @@
 
 | 状态码 | 说明 | schema |
 | -------- | -------- | ----- | 
-|200|OK|R«List«FwAreaDivide对象»»|
+|200|OK|R|
+|201|Created||
 |401|Unauthorized||
 |403|Forbidden||
 |404|Not Found||
@@ -48,32 +59,7 @@
 | 参数名称 | 参数说明 | 类型 | schema |
 | -------- | -------- | ----- |----- | 
 |code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|array|FwAreaDivide对象|
-|&emsp;&emsp;areaCode|区域编码|string||
-|&emsp;&emsp;areaName|区域名称|string||
-|&emsp;&emsp;areaSize|区域面积(km²)|number||
-|&emsp;&emsp;areaType|区域类型:报警区/重点管制区|string||
-|&emsp;&emsp;controlLevel|管控级别:日常/重点/严密|string||
-|&emsp;&emsp;createDept|创建部门|integer(int64)||
-|&emsp;&emsp;createTime|创建时间|string(date-time)||
-|&emsp;&emsp;createUser|创建人|integer(int64)||
-|&emsp;&emsp;deviceIds|关联设备ID,逗号分隔|string||
-|&emsp;&emsp;flyDateEnd|可飞行日期时间-结束|string(date-time)||
-|&emsp;&emsp;flyDateStart|可飞行日期时间-开始|string(date-time)||
-|&emsp;&emsp;geom|经纬度面(存储地理面数据)|string||
-|&emsp;&emsp;id|主键id|integer(int64)||
-|&emsp;&emsp;isDeleted|是否已删除|integer(int32)||
-|&emsp;&emsp;latitude|区域中心纬度|number(double)||
-|&emsp;&emsp;longitude|区域中心经度|number(double)||
-|&emsp;&emsp;policeStationContactPerson|派出所联系人|string||
-|&emsp;&emsp;policeStationContactPhone|派出所联系电话|string||
-|&emsp;&emsp;policeStationId|关联派出所id|integer(int64)||
-|&emsp;&emsp;policeStationName|派出所名称|string||
-|&emsp;&emsp;responseMechanism|响应机制内容|string||
-|&emsp;&emsp;status|业务状态|integer(int32)||
-|&emsp;&emsp;triggerCondition|触发条件|string||
-|&emsp;&emsp;updateTime|更新时间|string(date-time)||
-|&emsp;&emsp;updateUser|更新人|integer(int64)||
+|data|承载数据|object||
 |msg|返回消息|string||
 |success|是否成功|boolean||
 
@@ -82,35 +68,73 @@
 ```javascript
 {
 	"code": 0,
-	"data": [
-		{
-			"areaCode": "",
-			"areaName": "",
-			"areaSize": 0,
-			"areaType": "",
-			"controlLevel": "",
-			"createDept": 0,
-			"createTime": "",
-			"createUser": 0,
-			"deviceIds": "",
-			"flyDateEnd": "",
-			"flyDateStart": "",
-			"geom": "",
-			"id": 0,
-			"isDeleted": 0,
-			"latitude": 0,
-			"longitude": 0,
-			"policeStationContactPerson": "",
-			"policeStationContactPhone": "",
-			"policeStationId": 0,
-			"policeStationName": "",
-			"responseMechanism": "",
-			"status": 0,
-			"triggerCondition": "",
-			"updateTime": "",
-			"updateUser": 0
-		}
-	],
+	"data": {},
+	"msg": "",
+	"success": true
+}
+```
+
+
+
+
+## 取消关注
+
+
+**接口地址**:`/drone-fw/record/fwAlarmFavorite/remove`
+
+
+**请求方式**:`POST`
+
+
+**请求数据类型**:`application/json`
+
+
+**响应数据类型**:`*/*`
+
+
+**接口描述**:<p>传入ids</p>
+
+
+
+**请求参数**:
+
+
+**请求参数**:
+
+
+| 参数名称 | 参数说明 | 请求类型    | 是否必须 | 数据类型 | schema |
+| -------- | -------- | ----- | -------- | -------- | ------ |
+|ids|主键集合|query|true|string||
+
+
+**响应状态**:
+
+
+| 状态码 | 说明 | schema |
+| -------- | -------- | ----- | 
+|200|OK|R|
+|201|Created||
+|401|Unauthorized||
+|403|Forbidden||
+|404|Not Found||
+
+
+**响应参数**:
+
+
+| 参数名称 | 参数说明 | 类型 | schema |
+| -------- | -------- | ----- |----- | 
+|code|状态码|integer(int32)|integer(int32)|
+|data|承载数据|object||
+|msg|返回消息|string||
+|success|是否成功|boolean||
+
+
+**响应示例**:
+```javascript
+{
+	"code": 0,
+	"data": {},
 	"msg": "",
 	"success": true
 }

--
Gitblit v1.9.3