From 1731a7c28db644bb862eb54089d15fe3991fd27c Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 02 Feb 2026 14:08:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
applications/drone-command/src/views/api.txt | 70 ++++++++++++++++++++++------------
1 files changed, 45 insertions(+), 25 deletions(-)
diff --git a/applications/drone-command/src/views/api.txt b/applications/drone-command/src/views/api.txt
index 348cc4e..c55353c 100644
--- a/applications/drone-command/src/views/api.txt
+++ b/applications/drone-command/src/views/api.txt
@@ -1,22 +1,34 @@
-## 列表
+## 根据多边形区域查询派出所
-**接口地址**:`/area/fwDefenseSceneManage/list`
+**接口地址**:`/area/fwPoliceStation/queryByPolygons`
-**请求方式**:`GET`
+**请求方式**:`POST`
-**请求数据类型**:`application/x-www-form-urlencoded`
+**请求数据类型**:`application/json`
**响应数据类型**:`*/*`
-**接口描述**:<p>传入time</p>
+**接口描述**:<p>传入多边形WKT字符串集合</p>
+
+
+**请求示例**:
+
+
+```javascript
+{
+ "polygons": [
+ "POLYGON((114.96898636473107 27.11156483383477,114.97972069576815 27.111564833834766,114.97972069576815 27.120473921808035,114.96898636473107 27.120473921808035,114.96898636473107 27.11156483383477))"
+ ]
+}
+```
**请求参数**:
@@ -27,7 +39,8 @@
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
-|time|时间筛选(yyyy-MM-dd HH:mm:ss)|query|false|string(date-time)||
+|dto|派出所多边形区域查询入参|body|true|FwPoliceStationPolygonQueryDTO对象|FwPoliceStationPolygonQueryDTO对象|
+|  polygons|多边形WKT字符串集合||true|array|string|
**响应状态**:
@@ -35,7 +48,8 @@
| 状态码 | 说明 | schema |
| -------- | -------- | ----- |
-|200|OK|R«List«FwDefenseSceneManageVO»»|
+|200|OK|R«List«FwPoliceStationVO»»|
+|201|Created||
|401|Unauthorized||
|403|Forbidden||
|404|Not Found||
@@ -47,18 +61,21 @@
| 参数名称 | 参数说明 | 类型 | schema |
| -------- | -------- | ----- |----- |
|code|状态码|integer(int32)|integer(int32)|
-|data|承载数据|array|FwDefenseSceneManageVO|
+|data|承载数据|array|FwPoliceStationVO|
+|  address|派出所地址|string||
|  areaCode|区域编码|string||
-|  defenseLeader|防控负责人|string||
-|  defenseSceneId|关联场景配置ID|integer(int64)||
-|  defenseSceneName|场景配置名称|string||
-|  effectiveDateEnd|有效时间-结束|string(date-time)||
-|  effectiveDateStart|有效时间-开始|string(date-time)||
-|  id||integer(int64)||
-|  latitude|指挥点纬度|number(double)||
-|  leaderPhone|防控负责人电话|string||
-|  longitude|指挥点经度|number(double)||
-|  sceneName|场景名称|string||
+|  contactPerson|联系人|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)||
+|  updateTime|更新时间|string(date-time)||
+|  updateUser|更新人|integer(int64)||
|msg|返回消息|string||
|success|是否成功|boolean||
@@ -69,17 +86,20 @@
"code": 0,
"data": [
{
+ "address": "",
"areaCode": "",
- "defenseLeader": "",
- "defenseSceneId": 0,
- "defenseSceneName": "",
- "effectiveDateEnd": "",
- "effectiveDateStart": "",
+ "contactPerson": "",
+ "contactPhone": "",
+ "createDept": 0,
+ "createTime": "",
+ "createUser": 0,
"id": 0,
"latitude": 0,
- "leaderPhone": "",
"longitude": 0,
- "sceneName": ""
+ "stationName": "",
+ "status": 0,
+ "updateTime": "",
+ "updateUser": 0
}
],
"msg": "",
--
Gitblit v1.9.3